chore: update build and publish scripts

[ci skip]
This commit is contained in:
Henrique Dias 2018-01-05 10:15:26 +00:00
parent 1218966226
commit 32106b537d
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
# Install rice tool if not present
if ! [ -x "$(command -v rice)" ]; then

View File

@ -1,4 +1,5 @@
#!/bin/bash
set -e
echo "Building assets"
./build.sh
@ -8,7 +9,7 @@ sed -i "s|(untracked)|$1|g" filemanager.go
echo "Commiting..."
git add -A
git commit -m "Version $1"
git commit -m "chore: version $1"
git push
echo "Creating the tag..."
@ -18,7 +19,7 @@ git push --tags
echo "Commiting untracked version notice..."
sed -i "s|$1|(untracked)|g" filemanager.go
git add -A
git commit -m "[ci skip] auto: setting untracked version"
git commit -m "chore: setting untracked version [ci skip]"
git push
echo "Done!"