Skip to content

Commit

Permalink
add git ref fields to create release action
Browse files Browse the repository at this point in the history
  • Loading branch information
MJRichardson committed Nov 7, 2023
1 parent 51a5886 commit a366be7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@ jobs:
channel: 'Branches'
release_number: ${{ steps.branch-name.outputs.current_branch }}.${{ github.run_id }}
package_version: ${{ steps.branch-name.outputs.current_branch }}.${{ github.run_id }}
git_ref: ${{ (github.ref_type == 'tag' && github.event.repository.default_branch ) || (github.head_ref || github.ref) }}
git_commit: ${{ github.event.after || github.event.pull_request.head.sha }}

0 comments on commit a366be7

Please sign in to comment.