From a072ec04863038328467376205bd417f03726aef Mon Sep 17 00:00:00 2001 From: Denis Gribanov Date: Thu, 26 Dec 2024 16:30:26 +0300 Subject: [PATCH] go on --- scripts/update-bp3-voedger.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-bp3-voedger.sh b/scripts/update-bp3-voedger.sh index e067e7a..8c2255a 100644 --- a/scripts/update-bp3-voedger.sh +++ b/scripts/update-bp3-voedger.sh @@ -9,7 +9,7 @@ if [[ "$gh_event" == "workflow_dispatch" || "$gh_event" == "schedule" ]]; then repo_full_name="https://api.github.com/repos/voedger/voedger/commits/main" last_commit_message=$(curl -s -u "${github_token}:x-oauth-basic" -H $header $repo_full_name | jq -r '.commit.message') echo "last_commit_message: $last_commit_message" - last_commit_hash=$(git ls-remote github.com/voedger/voedger refs/heads/main | awk '{print $1}') + last_commit_hash=$(git ls-remote https://github.com/voedger/voedger refs/heads/main | awk '{print $1}') echo "last_commit_hash: $last_commit_hash" go get github.com/voedger/voedger@$last_commit_hash