File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,17 @@ runs:
5757 path : dist/
5858 - name : Ensure we have the package version
5959 shell : bash
60+ env :
61+ VERSION : " ${{ inputs.version }}"
6062 run : |
6163 # Handle version already bumped
62- if [ -z "${{ inputs.version } }" ]; then
64+ if [ -z "${VERSION }" ]; then
6365 # Extract the version from the sdist name, which must be of the from
6466 # {name}-{version}.tar.gz according to PEP 625.
6567 VERSION=$(ls dist/*.tar.gz | rev | cut -d'-' -f 1 | rev | sed 's/.tar.gz//g')
6668 echo "VERSION=$VERSION" >> $GITHUB_ENV
6769 else
68- echo "VERSION=${{ inputs.version} }" >> $GITHUB_ENV
70+ echo "VERSION=${VERSION }" >> $GITHUB_ENV
6971 fi
7072 - name : Create detached signature for dist files
7173 uses : mongodb-labs/drivers-github-tools/gpg-sign@v2
You can’t perform that action at this time.
0 commit comments