Created
December 13, 2022 14:00
-
-
Save kgsnipes/a2d7b52886c3e704de32c8d45c0ce607 to your computer and use it in GitHub Desktop.
creating tag bitbucket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipelines: | |
default: | |
- step: | |
script: | |
- echo "Made a change in build ${BITBUCKET_BUILD_NUMBER}" >> changes.txt | |
- git add changes.txt | |
- git commit -m "Updating changes.txt with latest build number." | |
- git tag -am "Tagging for release ${BITBUCKET_BUILD_NUMBER}" release-${BITBUCKET_BUILD_NUMBER} | |
- git push origin release-${BITBUCKET_BUILD_NUMBER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment