diff --git a/api/julia/build_tarballs.jl b/api/julia/build_tarballs.jl index d29e487f9..b1f19642a 100644 --- a/api/julia/build_tarballs.jl +++ b/api/julia/build_tarballs.jl @@ -11,7 +11,7 @@ version = v"1.0.0" # Collection of sources required to complete build sources = [ - GitSource("https://github.com/ahay/src.git", "4383bfde1224bf001bab0bda1f9a66b08c83c0f3") + GitSource("https://github.com/ahay/src.git", "635f797644c2208e445e488bf32bb39ab65f9627") ] # Bash recipe for building across all platforms diff --git a/api/julia/ubuntu_build.sh b/api/julia/ubuntu_build.sh index 5b62a388c..aa1226dcc 100755 --- a/api/julia/ubuntu_build.sh +++ b/api/julia/ubuntu_build.sh @@ -1,11 +1,12 @@ #!/bin/bash # Check if we are on ubuntu -lsb_release -a | grep "Ubuntu" || exit 1 +# lsb_release -a | grep "Ubuntu" || exit 1 UBUNTU_VERSION=$(lsb_release -r | awk '{print $2}') # Get the git hash -GIT_HASH=$(git rev-parse HEAD) +GIT_URL="https://github.com/ahay/src.git" +GIT_HASH=$(git ls-remote $GIT_URL HEAD | awk '{print $1}') cd ../..