mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-05-02 12:11:24 +00:00
Enhancement: Fixes #210, Provide build tag in package
This commit is contained in:
9
tools/bldutils/gentag/gentag.sh
Executable file
9
tools/bldutils/gentag/gentag.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#/bin/bash
|
||||
cur_branch=`git branch --show-current | xargs echo -n`
|
||||
cur_datestamp=`date +%y%m%d-%H%M | xargs echo -n`
|
||||
cur_hash=`git rev-parse --short HEAD | xargs echo -n`
|
||||
cur_user=`whoami | xargs echo -n`
|
||||
|
||||
tag="${cur_hash}.${cur_branch}(${cur_user}).${cur_datestamp}"
|
||||
|
||||
echo -n "${tag}"
|
||||
Reference in New Issue
Block a user