Change date format
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
c80ebf9355
commit
dda5a99605
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ writeShellApplication {
|
|||
|
||||
text = ''
|
||||
commit_sha="''${1:-HEAD}"
|
||||
tag="$(date '+%Y-%m-%d-%H.%M.%S')"
|
||||
tag="$(date '+%Y%m%d%R%S' | sed "s/://g")"
|
||||
|
||||
echo "Tagging commit $(git rev-parse "''${commit_sha}") as ''${tag}."
|
||||
echo ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue