Skip to content

Commit

Permalink
Merge pull request #36 from host6/fix-update-bp3-voedger-action
Browse files Browse the repository at this point in the history
fix update-bp3-voedger action
  • Loading branch information
ivvist authored Dec 26, 2024
2 parents a4f8148 + a072ec0 commit 2d3518d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-bp3-voedger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d3518d

Please sign in to comment.