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

51 lines
899 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
gh release create "v$VERSION" \
--notes-file - \
--target "$(git rev-parse HEAD)" \
--draft <<EOF
v$VERSION
2020-05-11 21:08:22 +00:00
VS Code v$(vscode_version)
Upgrading is as easy as installing the new version over the old one. code-server
maintains all user data in \`~/.local/share/code-server\` so that it is preserved in between
installations.
2020-11-19 23:03:12 +00:00
## New Features
2021-02-03 16:32:35 +00:00
⭐ Summarize new features here with references to issues
2020-11-16 21:56:53 +00:00
- item
2020-11-16 21:56:53 +00:00
## Bug Fixes
⭐ Summarize bug fixes here with references to issues
- item
2020-11-16 21:56:53 +00:00
## Documentation
⭐ Summarize doc changes here with references to issues
- item
## Development
⭐ Summarize development/testing changes here with references to issues
- item
2020-11-16 21:56:53 +00:00
Cheers! 🍻
2020-05-11 21:08:22 +00:00
EOF
}
main "$@"