forked from amplify-edge/main
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Grab the binaries attached as release assets | ||
curl -s https://api.github.com/repos/getcouragenow/main/releases/latest | jq -r ".assets[] | .browser_download_url" | xargs wget | ||
|
||
# Get the code as tar.gz, decompress.. | ||
curl -L "$(curl -s https://api.github.com/repos/applinh-getcouragenow/main/releases/latest | jq -r ".tarball_url")" > main.tar.gz | ||
chmod 700 main.tar.gz | ||
mkdir main | ||
tar xzvf main.tar.gz -C main --strip-components=1 | ||
# .. then maybe cd inside it | ||
# run make command | ||
# then delete everything keep only the binaries |