2020-05-12 05:08:22 +08: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 - \
|
2020-05-19 09:30:24 +08:00
|
|
|
-t "$(git rev-parse HEAD)" \
|
2020-05-16 22:55:46 +08:00
|
|
|
--draft "${assets[@]}" "v$VERSION" << EOF
|
|
|
|
v$VERSION
|
2020-05-12 05:08:22 +08:00
|
|
|
|
|
|
|
VS Code v$(vscode_version)
|
|
|
|
|
|
|
|
- Summarize changes here with references to issues
|
|
|
|
EOF
|
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|