Skip to content

Commit

Permalink
fix: split 'Get version and download source code' step into two steps
Browse files Browse the repository at this point in the history
This change splits the 'Get version and download source code' step into two separate steps in the GitHub Actions workflow to ensure the VERSION environment variable is set correctly.

chore: bump version to 0.4.1

This commit bumps the version of the AlleleFinder package from 0.4.0 to 0.4.1.
  • Loading branch information
adamkoziol committed May 6, 2024
1 parent caea276 commit e188fdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ jobs:
channels: olcbioinformatics,bioconda,conda-forge
- name: Install Conda build
run: conda install -y conda-build
- name: Get version and download source code
run: |
echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
wget https://github.com/OLC-Bioinformatics/AlleleFinder/archive/$VERSION.tar.gz
- name: Set version
run: echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
- name: Download source code
run: wget https://github.com/OLC-Bioinformatics/AlleleFinder/archive/$VERSION.tar.gz
- name: Calculate hash
run: |
echo "HASH=$(sha256sum $VERSION.tar.gz | awk '{ print $1 }')" >> $GITHUB_ENV
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.4.0'
__version__ = '0.4.1'

0 comments on commit e188fdb

Please sign in to comment.