From 31fb1a28d150dd7d92dea5837fa5668a7cb247d9 Mon Sep 17 00:00:00 2001 From: Ales Verbic Date: Mon, 1 Dec 2025 15:18:40 -0500 Subject: [PATCH] fix(CI): fix version Signed-off-by: Ales Verbic --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 543c839..861cd7d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 }}