Skip to content

Commit

Permalink
fix: correct version extraction in GitHub Actions workflow
Browse files Browse the repository at this point in the history
This change corrects the version extraction in the GitHub Actions workflow by using the correct context for the release event.

chore: bump version to 0.4.0

This commit bumps the version of the AlleleFinder package from 0.3.9 to 0.4.0.
  • Loading branch information
adamkoziol committed May 6, 2024
1 parent d2eeb22 commit caea276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: conda install -y conda-build
- name: Get version and download source code
run: |
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV # Extract the version from the GitHub tag
echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
wget https://github.com/OLC-Bioinformatics/AlleleFinder/archive/$VERSION.tar.gz
- name: Calculate hash
run: |
Expand Down
2 changes: 1 addition & 1 deletion allele_tools/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
AlleleFinder version
"""
__version__ = '0.3.9'
__version__ = '0.4.0'

0 comments on commit caea276

Please sign in to comment.