Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-21348

bitbucket-pipe-release to push latest tag on configurable branch name

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Currently the code is hardcoded to only tag latest if we're on branch `master`

       

      We have moved away from this naming convention however in our pipe repos we have to keep `master` if we don't want to add any additional logic to have our docker image tagged latest.

       

      here's the current code used - https://bitbucket.org/atlassian/bitbucket-pipe-release/src/master/pipe/pipe.py

      if branch == 'master':            
         return ['latest', version]
      

              Unassigned Unassigned
              043dad7027aa Poat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: