Skip to content

Commit

Permalink
working on
Browse files Browse the repository at this point in the history
  • Loading branch information
AppliNH committed Jan 25, 2021
1 parent 1ff9e40 commit 94f130f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions installCurl.sh
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

0 comments on commit 94f130f

Please sign in to comment.