Skip to content

Commit

Permalink
Fix release step to not include the macos binary (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Mar 18, 2023
1 parent 6adf48a commit 14e390e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,13 @@ jobs:
name: chatterino-api-1.19-ubuntu-22.04
path: bins/ubuntu/

- uses: actions/download-artifact@v3
with:
name: chatterino-api-1.19-macos-latest
path: bins/macos/

- name: display structure
run: ls -lR

- name: rename files
run: |
mkdir final-bins
mv bins/ubuntu/chatterino-api final-bins/chatterino-api-ubuntu-x86_64
mv bins/macos/chatterino-api final-bins/chatterino-api-macos-x86_64
- name: build-changelog
run: sed "0,/## $(echo "$GITHUB_REF_VALUE" | cut -d '/' -f 3 | cut -c2-)/d" project-git-repo/CHANGELOG.md | sed '/^## /,+999999999999999999 d' | tail -n+2 | head -n-1 > release-body
Expand All @@ -103,6 +97,5 @@ jobs:
body_path: release-body
files: |
final-bins/chatterino-api-ubuntu-x86_64
final-bins/chatterino-api-macos-x86_64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Dev: Only upload Ubuntu binaries to releases. (#454)

## 2.0.0

- Breaking: Go version 1.19 is now the minimum required version to build this. (#430)
Expand Down

0 comments on commit 14e390e

Please sign in to comment.