Skip to content

Commit

Permalink
always resolve commit sha
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Feb 23, 2024
1 parent 7e79d38 commit a099c5c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release_prep_hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -514,14 +514,7 @@ jobs:
- name: "Resolve Commit SHA For Release"
id: resolve_commit_sha
run: |
commit_sha=""
if [[ ${{ needs.audit-changelog.outputs.exists }} == false ]] || [[ ${{ needs.audit-version-in-code.outputs.up_to_date }} == false ]]
then
commit_sha=$(git rev-parse HEAD)
else
commit_sha=${{ inputs.sha }}
fi
echo "release_sha=$commit_sha" >> $GITHUB_OUTPUT
echo "release_sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
- name: "Remove Temp Branch - ${{ needs.create-temp-branch.outputs.branch_name }}"
if: ${{ inputs.deploy_to == 'prod' && inputs.nightly_release == 'false' && needs.create-temp-branch.outputs.branch_name != '' }}
Expand Down

0 comments on commit a099c5c

Please sign in to comment.