Skip to content

Commit

Permalink
Merge pull request #541 from nansencenter/hotfix_pypi_build
Browse files Browse the repository at this point in the history
Fix nansat version used in pypi build
  • Loading branch information
aperrin66 authored Apr 11, 2024
2 parents 8494960 + c32551e commit 6073cad
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 6073cad

Please sign in to comment.