Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global --add safe.directory "$(pwd -P)"
git commit -am "GHA: release version \${VERSION}"
git tag v\${VERSION} -am "GHA: publish public-$GITHUB_REPO_NAME v\${VERSION}"
git commit -am "GHA: release version ${VERSION}"
git tag v${VERSION} -am "GHA: publish public-$GITHUB_REPO_NAME v${VERSION}"
git log -1
git push origin v\${VERSION}
git push origin v${VERSION}
git push origin HEAD:${{ inputs.branch }}

# Increment incremental version and set SNAPSHOT
Expand All @@ -92,6 +92,6 @@ jobs:

# Looks good! Now, for the git-fu for our SNAPSHOT version
VERSION="$(cat VERSION)"
git commit -am "GHA: SNAPSHOT version \${VERSION}"
git commit -am "GHA: SNAPSHOT version ${VERSION}"
git diff HEAD^ HEAD
git push origin HEAD:${{ inputs.branch }}
Loading