Skip to content

Commit

Permalink
new test autorelease
Browse files Browse the repository at this point in the history
  • Loading branch information
tonegas committed Dec 5, 2024
1 parent e2b5f94 commit 1924021
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ jobs:
./dist/*.tar.gz
./dist/*.whl
- name: Get the branch version
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
BRANCH_NAME="${{ github.ref_name }}"
BRANCH_VERSION=$(echo $BRANCH_NAME | sed 's/release\/v//')
echo "BRANCH_VERSION=$BRANCH_VERSION" >> $GITHUB_ENV
- name: Print the version
- name: Crete a GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
echo "The branch version: ${{ env.BRANCH_VERSION }}"
gh release create v${{ env.BRANCH_VERSION }}
Expand Down

0 comments on commit 1924021

Please sign in to comment.