Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
nini22P committed Jan 9, 2025
1 parent f339d5f commit 57fdda5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build
on:
name: Build and Release
on:
push:
paths-ignore:
- README.md
Expand Down Expand Up @@ -100,7 +100,8 @@ jobs:
- name: Create or Replace Tag
id: create_tag
run: |
TAG_NAME="v${{ steps.yq.outputs.result }}"
VERSION="${{ steps.yq.outputs.result }}"
TAG_NAME="v${VERSION%%+*}"
echo "TAG_NAME=$TAG_NAME" >> "$GITHUB_OUTPUT"
# Check if the tag exists
if git show-ref --quiet "refs/tags/$TAG_NAME"; then
Expand Down

0 comments on commit 57fdda5

Please sign in to comment.