Skip to content

Commit

Permalink
silent curl...
Browse files Browse the repository at this point in the history
  • Loading branch information
frantic1048 committed May 22, 2016
1 parent ae7e27e commit 1f92f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PKGARCH=$(<PKGBUILD grep arch= | cut -d"=" -f 2 | sed "s/[\"'()]//g")
ROOT=$(pwd)

# get latest Mu's version on github
MUVER=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/Kreogist/Mu/git/refs/tags | sed -e "1 i (" -e "$ a ).pop().ref" | xargs -0 node -p | sed -e "s/refs\/tags\///")
MUVER=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/Kreogist/Mu/git/refs/tags | sed -e "1 i (" -e "$ a ).pop().ref" | xargs -0 node -p | sed -e "s/refs\/tags\///")

# compute new pkgver, pkgrel
if [[ $OLDPKGVER = $MUVER ]]
Expand Down

0 comments on commit 1f92f35

Please # to comment.