Skip to content

Commit

Permalink
Update v-tag-to-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lausser committed Oct 7, 2023
1 parent 36263b5 commit 31f5dcc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/v-tag-to-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ jobs:
# Use the 'replace' function to remove the "v" from the tag
TAG="${{ github.ref }}"
TAG_WITHOUT_V="${TAG#"v"}"
echo "Extracted tag: $TAG_WITHOUT_V"
echo "::set-output name=tag_without_v::$TAG_WITHOUT_V"
- name: Show the modified tag
run: |
MODIFIED_TAG="${{ steps.de_v_tag.outputs.tag_without_v }}"
echo "Modified tag: Release $MODIFIED_TAG"
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 31f5dcc

Please sign in to comment.