Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
add tag to released patch
Browse files Browse the repository at this point in the history
Signed-off-by: laqieer <[email protected]>
  • Loading branch information
laqieer committed Feb 28, 2020
1 parent 1bc83b3 commit 00f5c25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions buddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
- "cd build && make"
- "if [ ! -f \"flips-linux\" ]; then wget https://dl.smwcentral.net/11474/floating.zip; unzip floating.zip; sudo chmod +x flips-linux; fi"
- "tag=$(git describe --tags `git rev-list --tags --max-count=1`)"
- "./flips-linux -c -b ../rom/fe7-jp.gba fe7-jp-stunning-tribble.gba FEHR-latest.bps"
- "./flips-linux -c -b ../rom/fe7-jp.gba fe7-jp-stunning-tribble.gba FEHR.bps"
- "mv FEHR.bps FEHR$tag.bps"
- "COMMIT_LOG=`git log -1 --format='%ci %H %s'`"
- "sudo github-release upload --owner laqieer --repo fe7-jp-stunning-tribble --token ${GITHUB_TOKEN} --tag \"$tag\" --name \"$tag\" --body \"$COMMIT_LOG\" FEHR-latest.bps"
- "sudo github-release upload --owner laqieer --repo fe7-jp-stunning-tribble --token ${GITHUB_TOKEN} --tag \"$tag\" --name \"$tag\" --body \"$COMMIT_LOG\" FEHR$tag.bps"
setup_commands:
- "apt-get update && apt-get -y install unzip libgtk-3-0 libgomp1"
- "curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -"
Expand Down

0 comments on commit 00f5c25

Please sign in to comment.