Skip to content

Commit

Permalink
ci(win): grab first line of commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Nov 1, 2023
1 parent 05a0c22 commit afc70d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
if: matrix.os == 'windows-latest' && (env.ES_USERNAME != null || github.event_name == 'pull_request')
shell: bash
run: |
msg="$(git log -1 --no-merges --pretty=%B)"
msg="$(git log -1 --no-merges --pretty=%B | head -n 1)"
if [[ "$FROM_FORK" = "true" ]] || [[ ! "$msg" =~ "^release.*" ]];
then
echo "not a release, skipping code signing"
Expand Down

0 comments on commit afc70d2

Please sign in to comment.