feat: use go 1.12x
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: 1099ae5d7f6c132cf891e060de7c88f96d656f09 [formerly ea50b2c0686431e5728258fd02ad3a9e907c9349] [formerly 33237bb474abe7524a51501f797ca7cdae44c33f [formerly 30f685a347
]]
Former-commit-id: 0669d58fb6dc75a63b6e16857d7a4e09a6ba806f [formerly f4d38b4fbf2a7aa234c1c7cacc743fc386f5fa20]
Former-commit-id: 8391f23eaa62ca9a4599c327b8418d9593ad110b
pull/726/head
parent
51f34eaadb
commit
f5b3ab8db6
|
@ -1,6 +1,8 @@
|
||||||
os: linux
|
os: linux
|
||||||
services: docker
|
services: docker
|
||||||
language: minimal
|
language: go
|
||||||
|
go:
|
||||||
|
- 1.12.x
|
||||||
install: skip
|
install: skip
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
|
|
@ -135,12 +135,7 @@ pushRicebox () {
|
||||||
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 \
|
go get -u github.com/filebrowser/filebrowser/v2@latest
|
||||||
-v $(pwd):/src \
|
|
||||||
-w /src \
|
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
||||||
filebrowser/dev \
|
|
||||||
sh -c "go get -u github.com/filebrowser/filebrowser/v2@latest"
|
|
||||||
|
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue