Compare commits

..

1 Commits

Author SHA1 Message Date
f333d19c9b Update drone config
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-22 12:18:02 -10:00
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ steps:
image: golang:1.17.0-alpine3.14
commands:
- apk --no-cache add git
- go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate@latest
- go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
- cp $$GOPATH/bin/migrate migrate
- CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -trimpath -v -o canapeapp/app backend/*.go

6
dev.sh
View File

@ -69,9 +69,9 @@ _ensure_command npm
_check_command migrate || {
_log_info "Installing migrate"
GO111MODULE=off \
go get -tags 'postgres' \
-u -v github.com/golang-migrate/migrate/cmd/migrate
go install \
-tags 'postgres' \
github.com/golang-migrate/migrate/v4/cmd/migrate@latest
}
_check_command fresh || {