Automate beta commit
This commit is contained in:
parent
1a9e6d5063
commit
0af8ba215c
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
VERSION=`ci/version-number.sh`
|
||||||
|
BUILD=$((`ci/build-number.sh` + 1))
|
||||||
|
DATE=`date "+%Y-%m-%d"`
|
||||||
|
TARGET="CHANGELOG.md"
|
||||||
|
|
||||||
|
sed "s/Unreleased/$VERSION Beta $BUILD ($DATE)/" $TARGET >$TARGET.tmp
|
||||||
|
mv $TARGET.tmp $TARGET
|
||||||
|
git add $TARGET
|
||||||
|
git commit -m "Set beta release"
|
Loading…
Reference in New Issue