repo-cloner/checker/notify-tag

12 lines
338 B
Bash
Executable File

#!/bin/bash
# notify on tag push (new tag or change)
#
# Parameters (via env)
#
# TAG_HASH - hash of tagged commit
# TAG_NAME - tag label
# TAG_AUTHOR - who authored the tag - if available
# PROJECT_NAME - name of project specified in cloner.cfg
echo "TAG: (Name=$TAG_NAME; AUTHOR=$TAG_AUTHOR; SHA: $TAG_HASH), PROJECT: $PROJECT_NAME"