mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
7b58b1fbf6
* refactor
* updates
* add circle
* update circle
* fix circle
Former-commit-id: bdc8ecd8766e35f9ab7a9e8bd9dd62206bffb37b [formerly 0d28166061f5c8e573e916797abef67e33a83cf2] [formerly efd85c08040565ba75e06b3d7d7b16366d36325a [formerly 613a3f2811
]]
Former-commit-id: eca6ad66d686a6737d81dca5e00f1d46a75a217a [formerly a987246f7c0940e8812cb4d0c1b0514b708e8c44]
Former-commit-id: fd882cf0d2216dcfb035a703011eeb1a2f79da9f
26 lines
453 B
Bash
26 lines
453 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "Building assets"
|
|
./build.sh
|
|
|
|
echo "Updating version number to $1..."
|
|
sed -i "s|(untracked)|$1|g" filebrowser.go
|
|
|
|
echo "Commiting..."
|
|
git add -A
|
|
git commit -m "chore: 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)|g" filebrowser.go
|
|
git add -A
|
|
git commit -m "chore: setting untracked version [ci skip]"
|
|
git push
|
|
|
|
echo "Done!"
|