* introduce a github action for open source release * add more-secrets environment * PR body should contain the changelog * update script * add new lines
18 lines
437 B
Bash
Executable File
18 lines
437 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
. tools/lib/lib.sh
|
|
|
|
GIT_REVISION=$(git rev-parse HEAD)
|
|
[[ -z "$GIT_REVISION" ]] && echo "Couldn't get the git revision..." && exit 1
|
|
|
|
echo "Changelog:"
|
|
echo
|
|
PAGER=cat git log v${PREV_VERSION}..${GIT_REVISION} --oneline --decorate=no
|
|
echo
|
|
echo "Steps After Merging PR:"
|
|
echo "1. Pull most recent version of master"
|
|
echo "2. Run ./tools/bin/tag_version.sh"
|
|
echo "3. Create a GitHub release with the changelog"
|