Commit 5281e83 1 parent 8462254 commit 5281e83 Copy full SHA for 5281e83
File tree 1 file changed +2
-2
lines changed
build/g2s-package/g2s-brew
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
version_number=$( cat ../../../version)
2
2
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' )
5
5
COMMIT_HASH256=$( curl -sL https://github.com/GAIA-UNIL/g2s/archive/${COMMIT_HASH} .tar.gz | shasum -a 256 | cut -d " " -f 1 )
6
6
7
7
sed -i -e " s/COMMIT_HASH256/${COMMIT_HASH256} /g" ./g2s.rb
You can’t perform that action at this time.
0 commit comments