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

29 lines
513 B
Bash
Raw Normal View History

2020-05-11 23:08:22 +02: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 23:08:22 +02:00
VS Code v$(vscode_version)
2020-11-16 22:56:53 +01:00
# New Features
- ⭐ Summarize new features here with references to issues
## Bug Fixes
- ⭐ Summarize bug fixes here with references to issues
Cheers! 🍻
2020-05-11 23:08:22 +02:00
EOF
}
main "$@"