githubazure-pipelinesazure-repostfs-2017

Is there, in TFS2017, a feature similar to Github release?


Using Github, it is possible to create releases. When doing so, a zip file of the repo is available for for download (like here for example) (I am not the developer, this was the first repository available in the "explore" list).

Is there a similar feature in TFS2017 ?

It seems that the Build and release management provides this, but I have no right on this yet and do not want to go into "asking the right process" of the company- as this would take forever.


Solution

  • No, Azure DevOps/TFS don't have an equivalent feature of a "Release" in GitHub.

    But a "release" in GitHub is a wrapper around a tag, it adds some additional metadata to the tag such as release notes and artifacts. You can still download a snapshot of a Git Repo after creating a tag in Azure DevOps/TFS:

    Find the tag you want

    Then Download as Zip:

    Download as zip

    To create a tag use the git command line in a local clone of the repo:

    git tag release-v1.2.3.4
    git push --tags
    

    Afterwards that tag should be visible in the branch/tags selector in Azure DevOps/TFS (you may have to refresh the page).


    So what are these releases? You may ask...

    Well, a Release is an automated process that takes the artifacts from a build pipeline and executes a given set of steps to deploy these artifacts to an environment.

    The release depends on the artifacts generated by a build. In a build you can use the "Upload build artifact" task to create your own zip file of things you want to release. That zip file will be available from the build details in Azure DevOps/TFS.