Skip to content

Commit

Permalink
Need spaces around bash subs
Browse files Browse the repository at this point in the history
  • Loading branch information
twomagpi committed Feb 3, 2025
1 parent 3dfcfe2 commit 23adfd3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/distribute_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags') }}
run: |
# Set tag from GitHub: using git describe for tags inside the run script
# seems not working
echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
# seems not working - I think this because you need _annotated_ tags
# for git describe i.e. you need to tag the release as so:
# 'git tag vX.Y.Z -a -m "YOUR MESSAGE HERE"'
# echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "VERSION=${ git describe }" >> $GITHUB_ENV
- name: Install dependencies
run: |
Expand Down Expand Up @@ -134,7 +137,7 @@ jobs:
# for git describe i.e. you need to tag the release as so:
# 'git tag vX.Y.Z -a -m "YOUR MESSAGE HERE"'
# echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
echo "VERSION=${git describe}" >> $GITHUB_ENV
echo "VERSION=${ git describe }" >> $GITHUB_ENV
# setuptools_scm workaround for https://github.com/pypa/setuptools_scm/issues/455
- name: Disable local version identifier on develop CI
Expand Down

0 comments on commit 23adfd3

Please sign in to comment.