Skip to content

Commit a5e8337

Browse files
author
Akash Satheesan
committed
chore(ci): fix release scripts
1 parent d17c97c commit a5e8337

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ci/build/release-github-assets.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ main() {
1212

1313
download_artifact release-packages ./release-packages
1414
local assets=(./release-packages/code-server*"$VERSION"*{.tar.gz,.deb,.rpm})
15-
for i in "${!assets[@]}"; do
16-
assets[$i]="--attach=${assets[$i]}"
17-
done
15+
1816
EDITOR=true gh release upload "v$VERSION" "${assets[@]}"
1917
}
2018

ci/lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ arch() {
5454
# https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs
5555
get_artifacts_url() {
5656
local artifacts_url
57-
local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?status=success&event=pull_request"
57+
local workflow_runs_url="repos/:owner/:repo/actions/workflows/ci.yaml/runs?event=pull_request"
5858
# For releases, we look for run based on the branch name v$code_server_version
5959
# example: v3.10.0
6060
local version_branch="v$VERSION"

0 commit comments

Comments
 (0)