Skip to content

Commit

Permalink
Update release CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Sep 19, 2023
1 parent 2b24556 commit 4fcdade
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
version: ${{ vars.CI_POETRY_VERSION }}
- name: Generate tag
id: version-tag
run: echo "CALVER=$(date +%y.%m.%d).${{ github.run_number }}" >> "$GITHUB_OUTPUT"
# run: echo "CALVER=$(date +%y.%m.%d).${{ github.run_number }}" >> "$GITHUB_OUTPUT"
run: echo "CALVER=$(date +%y.%m.%d).$(git rev-list HEAD --count)" >> "$GITHUB_OUTPUT"
- name: Update version and push
run: |
git checkout -b "release/v${{ steps.version-tag.outputs.CALVER }}"
Expand Down

0 comments on commit 4fcdade

Please sign in to comment.