Skip to content

Commit

Permalink
Version is in tag ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Feb 26, 2024
1 parent 46d134f commit 390b759
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,10 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
- name: Get version using setuptools
id: get_version
run: |
echo ::set-output name=version::$(python setup.py --version)
- name: Create release
uses: ncipollo/release-action@v1
with:
tag: v${{ steps.get_version.outputs.version }}
prerelease: ${{ contains(steps.get_version.outputs.version, '-')}}
prerelease: ${{ contains(github.ref_name, '-')}}
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
publish:
Expand Down

0 comments on commit 390b759

Please sign in to comment.