mirror of
https://github.com/vicr123/the-libs.git
synced 2025-01-22 10:22:03 -05:00
Add RPKG macros
This commit is contained in:
parent
4eadc57129
commit
8bdd903790
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
function git_calculate_version {
|
||||
version_string="$(git describe --tags)"
|
||||
echo ${version_string#*v}
|
||||
version_string_substituted=${version_string//-/.}
|
||||
echo ${version_string_substituted#*v}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue