Skip to content

Commit

Permalink
fix nansat version used in pypi build
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Apr 11, 2024
1 parent 8494960 commit c32551e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
python-version: 3.11

- name: Build package
run: NANSAT_RELEASE="${TAG}" python setup.py sdist
run: NANSAT_RELEASE="${{ github.ref_type == 'tag' && github.ref_name || '0.0.0' }}" python setup.py sdist
shell: bash

- name: Publish
Expand Down

0 comments on commit c32551e

Please sign in to comment.