fix: add --clobber to release-github-assets script (#4628)

Co-authored-by: Asher <ash@coder.com>
This commit is contained in:
Joe Previte 2021-12-15 13:11:35 -07:00 committed by GitHub
parent 7561fc4306
commit 6e9e411542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ main() {
download_artifact release-packages ./release-packages download_artifact release-packages ./release-packages
local assets=(./release-packages/code-server*"$VERSION"*{.tar.gz,.deb,.rpm}) local assets=(./release-packages/code-server*"$VERSION"*{.tar.gz,.deb,.rpm})
EDITOR=true gh release upload "v$VERSION" "${assets[@]}" EDITOR=true gh release upload "v$VERSION" "${assets[@]}" --clobber
} }
main "$@" main "$@"