1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +00:00
code-server-2/ci/build/release-github-draft.sh

23 lines
400 B
Bash
Raw Normal View History

2020-05-11 21:08:22 +00:00
#!/usr/bin/env bash
set -euo pipefail
# Creates a draft release with the template for the version in package.json
main() {
cd "$(dirname "$0")/../.."
source ./ci/lib.sh
hub release create \
--file - \
-t "$(git rev-parse HEAD)" \
--draft "${assets[@]}" "v$VERSION" << EOF
v$VERSION
2020-05-11 21:08:22 +00:00
VS Code v$(vscode_version)
- Summarize changes here with references to issues
EOF
}
main "$@"