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

7 lines
265 B
Bash

#!/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
git log --oneline --decorate $INPUT_HEAD_REF..$INPUT_REF --format=%B -n 1