chore: update build and publish scripts
[ci skip] Former-commit-id: 68fc4cab3e092dbf192f02a7b69cd1024be6095e [formerly af8599c8c136f466f33b3060c1aa0568054617fc] [formerly fcce660652925df3b7837a503114380f6eab269e [formerly 32106b537d5c85b73c97710f2da204a70e8173b8]] Former-commit-id: 42514c2f46abf0ec4533ed44edb2ed16ff1220da [formerly 0bf28005af9a16de599a99d7c0fc543b5208729f] Former-commit-id: 2f1b4cbd7bce86943ceca8a3f0834a1ac81edb45
This commit is contained in:
parent
6d71ab08ce
commit
c75f3e0f59
1
build.sh
1
build.sh
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# Install rice tool if not present
|
# Install rice tool if not present
|
||||||
if ! [ -x "$(command -v rice)" ]; then
|
if ! [ -x "$(command -v rice)" ]; then
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "Building assets"
|
echo "Building assets"
|
||||||
./build.sh
|
./build.sh
|
||||||
|
@ -8,7 +9,7 @@ sed -i "s|(untracked)|$1|g" filemanager.go
|
||||||
|
|
||||||
echo "Commiting..."
|
echo "Commiting..."
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "Version $1"
|
git commit -m "chore: version $1"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
echo "Creating the tag..."
|
echo "Creating the tag..."
|
||||||
|
@ -18,7 +19,7 @@ git push --tags
|
||||||
echo "Commiting untracked version notice..."
|
echo "Commiting untracked version notice..."
|
||||||
sed -i "s|$1|(untracked)|g" filemanager.go
|
sed -i "s|$1|(untracked)|g" filemanager.go
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "[ci skip] auto: setting untracked version"
|
git commit -m "chore: setting untracked version [ci skip]"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|
Loading…
Reference in New Issue