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
|
|
|
|
|
2021-04-20 04:51:33 +08:00
|
|
|
gh release create "v$VERSION" \
|
|
|
|
--notes-file - \
|
|
|
|
--target "$(git rev-parse HEAD)" \
|
|
|
|
--draft <<EOF
|
2020-05-16 22:55:46 +08:00
|
|
|
v$VERSION
|
2020-05-12 05:08:22 +08:00
|
|
|
|
|
|
|
VS Code v$(vscode_version)
|
|
|
|
|
2020-11-24 10:07:02 +08:00
|
|
|
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-20 07:03:12 +08:00
|
|
|
## New Features
|
2021-02-04 00:32:35 +08:00
|
|
|
|
2021-03-26 06:06:56 +08:00
|
|
|
⭐ Summarize new features here with references to issues
|
2020-11-17 05:56:53 +08:00
|
|
|
|
2021-03-26 06:06:56 +08:00
|
|
|
- item
|
2021-03-06 01:34:16 +08:00
|
|
|
|
2020-11-17 05:56:53 +08:00
|
|
|
## Bug Fixes
|
2021-03-26 06:06:56 +08:00
|
|
|
|
|
|
|
⭐ Summarize bug fixes here with references to issues
|
|
|
|
|
|
|
|
- item
|
2020-11-17 05:56:53 +08:00
|
|
|
|
2021-02-13 05:13:07 +08:00
|
|
|
## Documentation
|
2021-03-26 06:06:56 +08:00
|
|
|
|
|
|
|
⭐ Summarize doc changes here with references to issues
|
|
|
|
|
|
|
|
- item
|
2021-02-13 05:13:07 +08:00
|
|
|
|
|
|
|
## Development
|
|
|
|
|
2021-03-26 06:06:56 +08:00
|
|
|
⭐ Summarize development/testing changes here with references to issues
|
|
|
|
|
|
|
|
- item
|
2021-02-13 05:13:07 +08:00
|
|
|
|
2020-11-17 05:56:53 +08:00
|
|
|
Cheers! 🍻
|
2020-05-12 05:08:22 +08:00
|
|
|
EOF
|
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|