Skip to content

Commit

Permalink
Use correct build contraints (must be alphanumeric)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhui committed Jun 12, 2018
1 parent c4e855b commit dfa9fc0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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 ?=
Expand Down
2 changes: 1 addition & 1 deletion cli/build_aws-s3.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build aws-s3
// +build aws_s3

package main

Expand Down
2 changes: 1 addition & 1 deletion cli/build_go-bindata.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build go-bindata
// +build go_bindata

package main

Expand Down
2 changes: 1 addition & 1 deletion cli/build_google-cloud-storage.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build google-cloud-storage
// +build google_cloud_storage

package main

Expand Down

0 comments on commit dfa9fc0

Please sign in to comment.