chore: fix push ricebox
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
bd93aeb50d
commit
549dec46e0
2
frontend
2
frontend
|
@ -1 +1 @@
|
|||
Subproject commit 3ed2144a0e7e9c36c7c09aab911e3111827b55a2
|
||||
Subproject commit df42e352f779eecf472b840405c20d21e94bc379
|
11
wizard.sh
11
wizard.sh
|
@ -8,6 +8,7 @@ LINT="false"
|
|||
BUILD="false"
|
||||
PUSH_LATEST="false"
|
||||
RELEASE=""
|
||||
GO111MODULES="on"
|
||||
|
||||
debugInfo () {
|
||||
echo "Repo: $REPO"
|
||||
|
@ -133,6 +134,14 @@ pushRicebox () {
|
|||
cd caddy
|
||||
cp ../http/rice-box.go ./
|
||||
sed -i 's/package http/package caddy/g' ./rice-box.go
|
||||
|
||||
docker run --rm -t \
|
||||
-v $(pwd):/src \
|
||||
-w /src \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
filebrowser/dev \
|
||||
sh -c "go get -u"
|
||||
|
||||
git checkout -b update-rice-box origin/master
|
||||
git config --local user.name "Filebrowser Bot"
|
||||
git config --local user.email "FilebrowserBot@users.noreply.github.com"
|
||||
|
@ -169,8 +178,8 @@ ciRelease () {
|
|||
goreleaser \
|
||||
"
|
||||
|
||||
dockerPushTag
|
||||
pushRicebox
|
||||
dockerPushTag
|
||||
}
|
||||
|
||||
build () {
|
||||
|
|
Loading…
Reference in New Issue