Files
changelog_action/entrypoint.sh
2021-05-05 23:51:30 +02:00

9 lines
302 B
Bash
Executable File

#!/bin/bash
# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set
# x would be for showing the commands before they are executed
set -eux
echo $INPUT_HEAD_REF
echo $INPUT_REF
git log --oneline --decorate $INPUT_HEAD_REF..$INPUT_REF --format=%B -n 1