Skip to content

Commit

Permalink
cd: predict next canary version (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel authored Sep 5, 2024
1 parent d277a98 commit d8ba910
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd_publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
- name: ⚙️ Git Hash
if: steps.check_commit.outputs.publish == 'true'
run: |
npm version patch --no-git-tag-version
VERSION=$(node -p "require('./package.json').version")
SHORT_SHA=$(git rev-parse --short HEAD)
echo "VERSION=${VERSION}-canary.${SHORT_SHA}" >> $GITHUB_ENV
Expand Down

0 comments on commit d8ba910

Please sign in to comment.