chore: fix push ricebox
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>pull/724/head
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"
|
BUILD="false"
|
||||||
PUSH_LATEST="false"
|
PUSH_LATEST="false"
|
||||||
RELEASE=""
|
RELEASE=""
|
||||||
|
GO111MODULES="on"
|
||||||
|
|
||||||
debugInfo () {
|
debugInfo () {
|
||||||
echo "Repo: $REPO"
|
echo "Repo: $REPO"
|
||||||
|
@ -133,6 +134,14 @@ pushRicebox () {
|
||||||
cd caddy
|
cd caddy
|
||||||
cp ../http/rice-box.go ./
|
cp ../http/rice-box.go ./
|
||||||
sed -i 's/package http/package caddy/g' ./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 checkout -b update-rice-box origin/master
|
||||||
git config --local user.name "Filebrowser Bot"
|
git config --local user.name "Filebrowser Bot"
|
||||||
git config --local user.email "FilebrowserBot@users.noreply.github.com"
|
git config --local user.email "FilebrowserBot@users.noreply.github.com"
|
||||||
|
@ -169,8 +178,8 @@ ciRelease () {
|
||||||
goreleaser \
|
goreleaser \
|
||||||
"
|
"
|
||||||
|
|
||||||
dockerPushTag
|
|
||||||
pushRicebox
|
pushRicebox
|
||||||
|
dockerPushTag
|
||||||
}
|
}
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
|
|
Loading…
Reference in New Issue