git://scientific.zcu.cz
/
packaging-rpm-NOW.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01fbf1b
)
Fix release string
author
František Dvořák
<valtri@civ.zcu.cz>
Wed, 19 Oct 2016 16:21:42 +0000
(18:21 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Wed, 19 Oct 2016 16:21:42 +0000
(18:21 +0200)
gen.sh
patch
|
blob
|
blame
|
history
diff --git
a/gen.sh
b/gen.sh
index
1a2aa64
..
45b6a4c
100755
(executable)
--- a/
gen.sh
+++ b/
gen.sh
@@
-12,7
+12,7
@@
short=`echo ${commit} | cut -c 1-7`
v=`cd NOW; ruby -r./version.rb -e 'print Now::VERSION'`
release=${release:-'0.'}
if echo "${release}" | grep -q '\.$'; then
- release=${release}
.
`date --utc --date="${datecommit}" '+%Y%m%d'`git${short}
+ release=${release}`date --utc --date="${datecommit}" '+%Y%m%d'`git${short}
fi
rm -rf NOW-${commit}/