Skip to content

Commit

Permalink
ci: to tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronczichon committed Apr 23, 2024
1 parent e6e45f2 commit 26af2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- uses: actions/checkout@v3
- name: Get Version
id: get_version
# E.g. converts ref/tags/0.0.1 -> 0.0.1
run: echo "VERSION=$(echo $GITHUB_REF | sed 's#ref/tags/##')" >> $GITHUB_OUTPUT
# E.g. converts ref/tags/v0.0.1 -> 0.0.1
run: echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 4-)" >> $GITHUB_OUTPUT
- name: Get Label
id: get_label
# E.g. converts 0.0.1-beta.1 -> beta
Expand Down

0 comments on commit 26af2b0

Please sign in to comment.