From 0659e565d0624e40a595d1a7284a05643320215e Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 19 Jul 2022 16:25:53 -0700 Subject: [PATCH] fix: update branch for release assets download (#5359) --- ci/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/lib.sh b/ci/lib.sh index c7b5a420a..414fe1569 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -57,7 +57,7 @@ arch() { # https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs get_artifacts_url() { local artifacts_url - local version_branch="v$VERSION" + local version_branch="release/v$VERSION" local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?event=pull_request&branch=$version_branch" artifacts_url=$(gh api "$workflow_runs_url" | jq -r ".workflow_runs[] | select(.head_branch == \"$version_branch\") | .artifacts_url" | head -n 1) if [[ -z "$artifacts_url" ]]; then