1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-30 23:44:42 +02:00

сделал Show_Version()

This commit is contained in:
Nikitin Aleksandr
2024-10-15 11:32:53 +03:00
parent 0527914ab5
commit 0e70f83959

View File

@@ -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