- на вход принимает имя файла с версией приложения
- версия должна быть в формате
X.Y.Z,
гдеX
- любой число от0
добесконечности
,Y
иZ
- числа от0
до9
включительно - хук увеличивает число
Z
наединицу
, пока оно не станет больше9ти
, потом он выставляетZ
на0
, а числоY
увеличивает наединицу
- и так же с
X
, когдаY
станет больше9
X
не ограничивается девятью и растет постоянно
./version-hook.sh VERSION
- accepts the name of the file with the application version as input
- version must be in the format
X.Y.Z,
whereX
- any number from0
toinfinity
,Y
andZ
- numbers from0
to9
inclusive - the hook increases the number
Z
byone
until it becomes more than9
, then it setsZ
to0
, and the numberY
increases byone
- and so with
X
whenY
becomes greater than9
X
is not limited to nine and grows constantly
./version-hook.sh VERSION
- Vassiliy Yegorov vasyakrg
- youtube
- site
- telegram
- any qiestions for my