Skip to content

Commit

Permalink
ci: 对版本号进行一个修
Browse files Browse the repository at this point in the history
  • Loading branch information
moomiji committed May 8, 2024
1 parent 3cf5c4f commit 6fc393e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
is_release=${{ startsWith(github.ref, 'refs/tags/v') }}
tag=$(git describe --tags --long --match "v*" --exclude "*-post*" || true)
tag=$(git describe --tags --match "v*" --exclude "*-post*" || true)
commit_hash=$(git rev-parse --short HEAD)
if [[ $tag != v* ]]; then
if $is_release; then echo "::error::Failed to get tag on releasing" && exit 1; fi
Expand Down

0 comments on commit 6fc393e

Please sign in to comment.