mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
chore: update build and publish scripts
[ci skip]
This commit is contained in:
parent
1218966226
commit
32106b537d
1
build.sh
1
build.sh
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Install rice tool if not present
|
||||
if ! [ -x "$(command -v rice)" ]; then
|
||||
|
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user