Skip to content

Commit

Permalink
Extract a proper sever from a version tag to fix the build
Browse files Browse the repository at this point in the history
Whls are not building because the tags are not proper semvers.  The "v" prefix needs to be stripped.
  • Loading branch information
chipkent authored May 17, 2024
1 parent 55970ed commit fe2bd97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ jobs:
echo "::set-output name=version::0.0.0.dev${PR_NUMBER}"
fi
else
echo "::set-output name=version::${{ github.event.release.tag_name }}"
SEMVER="${TAG_NAME:1}"
echo "::set-output name=version::${SEMVER}"
fi
- name: Build
env:
Expand Down

0 comments on commit fe2bd97

Please sign in to comment.