Skip to content

Commit 5281e83

Browse files
committed
Update make-recipe.sh
1 parent 8462254 commit 5281e83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/g2s-package/g2s-brew/make-recipe.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version_number=$(cat ../../../version)
22

3-
COMMIT_HASH256=$(curl -sL $( echo "https://github.com/GAIA-UNIL/G2S/archive/refs/tags/vx.y.z.tar.gz" | sed -e "s/x.y.z/${version_number}/g") | shasum -a 256 | cut -d " " -f 1 )
4-
COMMIT_HASH=$(curl -s https://api.github.com/repos/GAIA-UNIL/g2s/commits/moveComputationFileTo-tmp | grep sha | head -n 1 | awk '{print $2}' | sed 's/\"//g' | sed 's/,//g')
3+
#COMMIT_HASH256=$(curl -sL $( echo "https://github.com/GAIA-UNIL/G2S/archive/refs/tags/vx.y.z.tar.gz" | sed -e "s/x.y.z/${version_number}/g") | shasum -a 256 | cut -d " " -f 1 )
4+
COMMIT_HASH=$(curl -s https://api.github.com/repos/GAIA-UNIL/g2s/commits/master | grep sha | head -n 1 | awk '{print $2}' | sed 's/\"//g' | sed 's/,//g')
55
COMMIT_HASH256=$(curl -sL https://github.com/GAIA-UNIL/g2s/archive/${COMMIT_HASH}.tar.gz | shasum -a 256 | cut -d " " -f 1 )
66

77
sed -i -e "s/COMMIT_HASH256/${COMMIT_HASH256}/g" ./g2s.rb

0 commit comments

Comments
 (0)