Skip to content

Commit

Permalink
fix: cd to the ic repo when checking the newest revision
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa-tomic committed Nov 2, 2021
1 parent 575d214 commit 02d39bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash-ops/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ refresh_ic_submodule() {
}

install_ic_admin() {
GIT_REVISION=$("$REPO_ROOT"/ic/gitlab-ci/src/artifacts/newest_sha_with_disk_image.sh "origin/post-merge-tests-passed")
GIT_REVISION=$(cd "$REPO_ROOT"/ic; gitlab-ci/src/artifacts/newest_sha_with_disk_image.sh "origin/post-merge-tests-passed")
mkdir -p ~/bin
if [ -n "$GIT_REVISION" ]; then
if [ "$(uname)" == "Darwin" ]; then
Expand Down

0 comments on commit 02d39bb

Please sign in to comment.