|
|
|
|
155
|
local suffix # version suffix
|
155
|
local suffix # version suffix
|
156
|
version=$(ini 1value project:version)
|
156
|
version=$(ini 1value project:version)
|
157
|
prerl=$(ini 1value project:prerl)
|
157
|
prerl=$(ini 1value project:prerl)
|
158
|
- grep ":" <<<"$prerl" && warn "colon in project:prerl may corrupt version data: $prerl"
|
|
|
|
|
158
|
+ grep ":" <<<"$prerl" \
|
|
|
159
|
+ && warn "colon in project:prerl may corrupt version data: $prerl"
|
159
|
if git_present;
|
160
|
if git_present;
|
160
|
then # we are in git repo... so we can get smart
|
161
|
then # we are in git repo... so we can get smart
|
161
|
latest_tag=$(git_fact latest_tag)
|
162
|
latest_tag=$(git_fact latest_tag)
|