mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
ARTOO: Use git describe for version strings
This commit is contained in:
parent
8ba6feb817
commit
a8991811d3
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# this command should really execute:
|
|
||||||
# git describe --tags
|
## Returns the most recent release tag string
|
||||||
# but we don't have any version tags in the repo yet, so lets fake it:
|
## If the head is the most recent tag, it will display only the tag such as v3.0.0
|
||||||
echo v3.0.0
|
## If there are untagged commits after the last tag, it will display something v3.0.0-2-876FH
|
||||||
|
git describe --tags
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user