1
0
mirror of synced 2026-01-06 06:04:16 -05:00
Files
airbyte/tools/bin/pr_body.sh
Subodh Kant Chaturvedi 3260a48ddc introduce a github action for open source release (#5732)
* introduce a github action for open source release

* add more-secrets environment

* PR body should contain the changelog

* update script

* add new lines
2021-09-01 00:11:20 +05:30

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"