Skip to content

Commit

Permalink
ci: fix auto release (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonbrad authored Apr 13, 2024
1 parent 267e29d commit 43ea8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4
- name: Get the release version from the tag
if: env.VERSION == ''
run: echo "VERSION=$(echo ${{ github.ref_name }} | cut -f1 -d'-')" >> $GITHUB_ENV
run: echo "VERSION=$(echo ${{ github.ref_name }} | sed s/v\(.*\)-.*/\1/)" >> $GITHUB_ENV
- name: Show the version
run: |
echo "version is: $VERSION"
Expand Down

0 comments on commit 43ea8be

Please sign in to comment.