Skip to content

Commit

Permalink
release: v2.11.4 (fake)
Browse files Browse the repository at this point in the history
fix(ci): include the macOS zip file in release commit artifacts
  • Loading branch information
NikhilNarayana committed Feb 25, 2024
1 parent 5403d46 commit a1bc231
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,11 @@ jobs:
yarn run lint
- name: Prepare artifacts
shell: bash
env:
FROM_FORK: ${{ github.event_name == 'pull_request' }} # pull request events from our repo are skipped in favor of push events
run: |
msg="$(git log -1 --no-merges --pretty=%B)"
if [[ ! "$msg" =~ "^release.*" ]];
msg="$(git log -1 --no-merges --pretty=%B | head -n 1)"
if [[ "$FROM_FORK" = "true" ]] || [[ ! "$msg" =~ ^release:.* ]];
then
rm release/build/*-mac.zip || true;
fi
Expand Down

0 comments on commit a1bc231

Please sign in to comment.