publish_new_release.sh: add git pull
This commit is contained in:
parent
e36c833efa
commit
a849e5c472
1 changed files with 5 additions and 1 deletions
|
@ -24,6 +24,11 @@ then
|
|||
apt install -y ${#MISSING_PACKAGES[@]}
|
||||
fi
|
||||
|
||||
cd $ROOT_DIR
|
||||
echo "Update git repo:"
|
||||
git pull
|
||||
echo "done."
|
||||
|
||||
LATEST="$1"
|
||||
|
||||
if [ -z "$LATEST" ]
|
||||
|
@ -40,7 +45,6 @@ echo "Press [enter] to create and publish this new release"
|
|||
read
|
||||
|
||||
echo "Create new release..."
|
||||
cd $ROOT_DIR
|
||||
echo -n "$LATEST" > last_release.txt
|
||||
/usr/bin/git add last_release.txt
|
||||
/usr/bin/git commit -m "Release $LATEST"
|
||||
|
|
Loading…
Reference in a new issue