Skip to content

Commit

Permalink
Issue TBD54566975#97: Fix git tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
ALRubinger committed Aug 2, 2024
1 parent 8c02c23 commit 8d393c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ jobs:
# Commit
git add -Av
git commit -m "[TBD Release Manager 🚀] Setting version to: $version"
tagName = v$version
tagName=v$version
git tag -a v$tagName -m "Tag version: v$tagName" # We tag with a prefix of "v"
git push origin tag $tagName
git push origin main
git push origin $tagName
# Make the version and tag name available to subsequent jobs as an output param
echo "{RELEASE_TAG}={$tagName}" >> "$GITHUB_OUTPUT"
Expand All @@ -89,6 +89,7 @@ jobs:
-DnewVersion=$nextVersion
git add -Av
git commit -m "[TBD Release Manager 🚀] Setting next development version after $version to: $nextVersion"
git push origin main
kotlin-release-to-tbd-artifactory:
needs: git-tag
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ bound/kt/src/main/resources/*.so
# .class file for acceptance test
tests/jvm/**.class

# Do not commit versionBackup files
**/pom.xml.versionsBackup

# ---

Expand Down

0 comments on commit 8d393c3

Please sign in to comment.