Skip to content

Commit

Permalink
modified: .github/workflows/package-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleib committed May 11, 2023
1 parent 0f5abd5 commit 4528494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/package-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
id: set_tag_name
run: |
next_version=$((${{ github.event_name == 'release' }} ? $(echo "${{ github.ref }}" | awk -F'/' '{print $3}') : $(echo "${{ github.ref }}-$(date +%s)" | awk -F'/' '{print $3}')))
tag_name=v*.*.$(echo "$next_version" | cut -d'.' -f-3)
tag_name="v1.0.$(echo "$next_version" | cut -d'.' -f-3)"
echo "::set-output name=tag_name::$tag_name"
continue-on-error: true

Expand Down

0 comments on commit 4528494

Please sign in to comment.