Skip to content

Commit

Permalink
Release tagging needs the full SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed May 2, 2023
1 parent cef57fd commit a37b108
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
fi
echo "SHORT_SHA=$(echo $USED_SHA | cut -c1-7)" >> $GITHUB_ENV
- name: Expand short hash to FULL_SHA hash
run: |
FULL_SHA=$(git rev-parse ${{ env.SHORT_SHA }})
echo "FULL_SHA=$FULL_HASH" >> $GITHUB_ENV
- id: "auth"
uses: google-github-actions/auth@v1
with:
Expand Down Expand Up @@ -78,7 +83,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: "Release - ${{ inputs.RELEASE_VERSION }}"
commit: ${{ env.SHORT_SHA }}
commit: ${{ env.FULL_SHA }}
tag: ${{ inputs.RELEASE_VERSION }}
artifacts: "wheels/*.whl"
generateReleaseNotes: true
Expand Down

0 comments on commit a37b108

Please sign in to comment.