mirror of
https://github.com/coder/code-server.git
synced 2024-12-28 12:14:18 +03:00
chore(ci): fix release scripts
This commit is contained in:
parent
d17c97c9cd
commit
a5e8337c86
@ -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[@]}"
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user