diff --git a/ci/build/release-github-assets.sh b/ci/build/release-github-assets.sh index a025ee596d68470bdd09e9f22c9243ae3370a724..43083e1373d2bb76f634a5fb094d739a4134f6bd 100755 --- a/ci/build/release-github-assets.sh +++ b/ci/build/release-github-assets.sh @@ -12,9 +12,7 @@ main() { download_artifact release-packages ./release-packages local assets=(./release-packages/code-server*"$VERSION"*{.tar.gz,.deb,.rpm}) - for i in "${!assets[@]}"; do - assets[$i]="--attach=${assets[$i]}" - done + EDITOR=true gh release upload "v$VERSION" "${assets[@]}" } diff --git a/ci/lib.sh b/ci/lib.sh index 604c6e7b643639cf56a5d2c32e12a2c5d932297c..c16d44fc3117fc038e9f6fe855225dac874a051a 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -54,7 +54,7 @@ arch() { # https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs get_artifacts_url() { local artifacts_url - local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?status=success&event=pull_request" + local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?event=pull_request" # For releases, we look for run based on the branch name v$code_server_version # example: v3.10.0 local version_branch="v$VERSION"