File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ arch() {
5454# https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs
5555get_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 "
You can’t perform that action at this time.
0 commit comments