Notify scripts: new abbrev tag simplification

This commit is contained in:
2018-03-02 11:25:49 +01:00
parent addf0ad77f
commit 0c76eb41c3
3 changed files with 25 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#/bin/bash
# notify on tag push (new tag or change)
#
# Parameters (via env)
@@ -6,6 +6,9 @@
# TAG_HASH - hash of tagged commit
# TAG_NAME - tag label
# TAG_AUTHOR - who authored the tag - if available
# TAG_ABBREV - commit abbreviated hash
# TAG_LOG - short status line of log
# PROJECT_NAME - name of project specified in cloner.cfg
echo "TAG: (Name=$TAG_NAME; AUTHOR=$TAG_AUTHOR; SHA: $TAG_HASH), PROJECT: $PROJECT_NAME"
echo -e "\t$TAG_ABBREV: $TAG_LOG"