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

34 lines
705 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 - \
-t "$(git rev-parse HEAD)" \
--draft "${assets[@]}" "v$VERSION" << EOF
v$VERSION
2020-05-12 04:08:22 +07: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-20 06:03:12 +07:00
## New Features
2021-02-03 23:32:35 +07:00
2020-11-17 04:56:53 +07:00
- ⭐ Summarize new features here with references to issues
## Bug Fixes
- ⭐ Summarize bug fixes here with references to issues
Cheers! 🍻
2020-05-12 04:08:22 +07:00
EOF
}
main "$@"