mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-30 23:44:42 +02:00
сделал Show_Version()
This commit is contained in:
@@ -1 +1,7 @@
|
||||
# версия приложения из git заполняется в файл: version.txt
|
||||
# образец:
|
||||
# v1.0.4-23-gf3bbaf4 2024-10-14 14:43:55 +0300
|
||||
# v1.0.61 2024-10-14 14:25:20 +0300
|
||||
# git commit TAG + git commit HASH + git commit date and time
|
||||
|
||||
echo $(git describe --tags $(git rev-parse HEAD)) $(git show --no-patch --format=%ci) >./pkg/version/version.txt
|
||||
|
||||
Reference in New Issue
Block a user