mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 14:14:30 +02:00
ARTOO: Use git describe for version strings
This commit is contained in:
parent
8ba6feb817
commit
a8991811d3
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
# this command should really execute:
|
||||
# git describe --tags
|
||||
# but we don't have any version tags in the repo yet, so lets fake it:
|
||||
echo v3.0.0
|
||||
|
||||
## Returns the most recent release tag string
|
||||
## If the head is the most recent tag, it will display only the tag such as 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