code-server/ci/build/release-github-draft.sh

22 lines
367 B
Bash
Raw Normal View History

2020-05-12 04:08:22 +07: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 - \
--draft "${assets[@]}" "v$VERSION" << EOF
v$VERSION
2020-05-12 04:08:22 +07:00
VS Code v$(vscode_version)
- Summarize changes here with references to issues
EOF
}
main "$@"