mirror of
https://github.com/hanzoai/migrate.git
synced 2026-09-30 22:55:10 +00:00
Use correct build contraints (must be alphanumeric)
Fixes: https://github.com/golang-migrate/migrate/issues/52
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY database ./database
|
||||
COPY source ./source
|
||||
|
||||
ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse"
|
||||
ENV SOURCES="file go-bindata github aws-s3 google-cloud-storage"
|
||||
ENV SOURCES="file go_bindata github aws_s3 google_cloud_storage"
|
||||
|
||||
RUN go build -a -o build/migrate.linux-386 -ldflags="-X main.Version=${VERSION}" -tags "$DATABASES $SOURCES" ./cli
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
SOURCE ?= file go-bindata github aws-s3 google-cloud-storage
|
||||
SOURCE ?= file go_bindata github aws_s3 google_cloud_storage
|
||||
DATABASE ?= postgres mysql redshift cassandra spanner cockroachdb clickhouse
|
||||
VERSION ?= $(shell git describe --tags 2>/dev/null | cut -c 2-)
|
||||
TEST_FLAGS ?=
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// +build aws-s3
|
||||
// +build aws_s3
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// +build go-bindata
|
||||
// +build go_bindata
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// +build google-cloud-storage
|
||||
// +build google_cloud_storage
|
||||
|
||||
package main
|
||||
|
||||
|
||||
Reference in New Issue
Block a user