Skip to content

Commit

Permalink
v2.8: Fixed Homebrew release script
Browse files Browse the repository at this point in the history
  • Loading branch information
MCJack123 committed Jan 2, 2024
1 parent 12acdb5 commit 72392cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ jobs:
token: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
- name: Update file
run: |
sed 's/version "[^"]*"/version "'${GITHUB_REF:1}'"/' 's/sha256 "[^"]*"/sha256 "'$(curl -sL https://github.com/MCJack123/releases/$GITHUB_REF/download/CraftOS-PC.dmg | shasum -a 256 | awk '{print $1;}')'"/' Casks/craftos-pc.rb > tmp.rb
sed -e 's/version "[^"]*"/version "'${GITHUB_REF:1}'"/' -e 's/sha256 "[^"]*"/sha256 "'$(curl -sL https://github.com/MCJack123/releases/$GITHUB_REF/download/CraftOS-PC.dmg | shasum -a 256 | awk '{print $1;}')'"/' Casks/craftos-pc.rb > tmp.rb
mv tmp.rb Casks/craftos-pc.rb
- name: Upload
run: git push origin master
run: git commit -m $GITHUB_REF && git push origin master

release-ubuntu:
name: Upload Ubuntu PPA package
Expand Down

0 comments on commit 72392cc

Please sign in to comment.