mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
2515819026
Former-commit-id: 4dcf3117e274fe2b656af6fd2ee98db386143620 [formerly df3bd216ef1020e9ca6a0ba57ef1c4bad5a6e04d] [formerly e5eded7248098655cd60112a6ec5fec06fd99ff2 [formerly 044575d2af
]]
Former-commit-id: 8fe1a523af24c490eef9d7cd2b1bc3de656002de [formerly 73aea3062fa487a5c6c89f8f04bd86c177c783f3]
Former-commit-id: 6fd9e5260feacfe6b9d96515a7c3ab28c31f17db
25 lines
425 B
Bash
25 lines
425 B
Bash
#!/bin/bash
|
|
|
|
echo "Releasing version $1"
|
|
sed -i "s|(untracked version)|$1|g" filemanager.go
|
|
|
|
echo "Building assets"
|
|
./build.sh
|
|
|
|
echo "Commiting..."
|
|
git add -A
|
|
git commit -m "Version $1"
|
|
git push
|
|
|
|
echo "Creating the tag..."
|
|
git tag "v$1"
|
|
git push --tags
|
|
|
|
echo "Commiting untracked version notice..."
|
|
sed -i "s|$1|(untracked version)|g" filemanager.go
|
|
git add -A
|
|
git commit -m "untracked version `date`"
|
|
git push
|
|
|
|
echo "Done!"
|