Skip to content

Commit

Permalink
fix branch references
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed May 14, 2024
1 parent 3291829 commit acc1df4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
outputs:
archive-name: ${{ steps.archive.outputs.name }}
steps:
- name: "Checkout ${{ github.event.repository.name }}@${{ inputs.branch }}"
- name: "Checkout ${{ github.event.repository.name }}@${{ needs.release-prep.outputs.release-branch }}"
uses: actions/checkout@v4
with:
ref: ${{ needs.release-prep.outputs.release-branch }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_prep_hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ jobs:
# Otherwise, we generated a changelog and/or did the version bump in this workflow and there is a
# new sha to use from the merge we just did. Grab that here instead.
outputs:
branch: ${{ steps.release-branch.outputs.name }}
sha: ${{ steps.release-sha.outputs.sha }}
branch: ${{ steps.branch.outputs.name }}
sha: ${{ steps.sha.outputs.sha }}

steps:
- name: "Set release branch"
Expand All @@ -458,7 +458,7 @@ jobs:
ref: ${{ steps.branch.outputs.name }}

- name: "Set release SHA"
id: release-sha
id: sha
run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

# if this is a real release and a release branch was created, delete it
Expand Down

0 comments on commit acc1df4

Please sign in to comment.