mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 06:43:24 +03:00
GH-220 Improve script
This commit is contained in:
parent
465f6f20a3
commit
d776f51361
@ -10,8 +10,9 @@ agvtool bump -all
|
||||
|
||||
# ## marketing version
|
||||
if [ "${IS_SNAPSHOT}" = true ] ; then
|
||||
MARKETING_VERSION=$(agvtool what-marketing-version | tail -n 1 | sed -E 's/.*of "(.*)" in.*/\1/' | sed -E "s/(.*)-SNAPSHOT-.*/\1-SNAPSHOT-$(date +%Y%m%d.%H%M)/")
|
||||
MARKETING_VERSION=$(agvtool what-marketing-version | tail -n 1 | sed -E 's/.*of "(.*)" in.*/\1/' | sed -E "s/^([0-9]+)\.([0-9]+)\.([0-9]+).*/\1.\2.\3-SNAPSHOT-$(date +%Y%m%d.%H%M)/")
|
||||
fi
|
||||
|
||||
agvtool new-marketing-version ${MARKETING_VERSION}
|
||||
|
||||
echo "### Set versions of VimR"
|
||||
|
Loading…
Reference in New Issue
Block a user