1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 23:36:08 +03:00
vimr/bin/set_snapshot_date.sh
2016-07-16 21:37:59 +02:00

9 lines
263 B
Bash
Executable File

#!/bin/bash
NEW_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)/")
agvtool new-marketing-version $NEW_MARKETING_VERSION
echo $NEW_MARKETING_VERSION