mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
feat: use go 1.12x
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
parent
f1b7e268e5
commit
30f685a347
@ -1,6 +1,8 @@
|
||||
os: linux
|
||||
services: docker
|
||||
language: minimal
|
||||
language: go
|
||||
go:
|
||||
- 1.12.x
|
||||
install: skip
|
||||
addons:
|
||||
apt:
|
||||
|
@ -135,12 +135,7 @@ pushRicebox () {
|
||||
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 github.com/filebrowser/filebrowser/v2@latest"
|
||||
go get -u github.com/filebrowser/filebrowser/v2@latest
|
||||
|
||||
git checkout -b update-rice-box origin/master
|
||||
git config --local user.name "Filebrowser Bot"
|
||||
|
Loading…
Reference in New Issue
Block a user