File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -47,4 +47,4 @@ deploy:
47
47
on :
48
48
all_branches : true
49
49
go : " 1.10.1"
50
- condition : $TRAVIS_OS_NAME == linux && $ TRAVIS_PULL_REQUEST == false
50
+ condition : $TRAVIS_PULL_REQUEST == false
Original file line number Diff line number Diff line change @@ -177,10 +177,17 @@ ifndef BRANCH_PATH
177
177
endif
178
178
@echo Beta release ready at $(BETA_URL)
179
179
180
+ BUILD_FLAGS := -exclude "^(windows|darwin)/"
181
+ ifeq ($(TRAVIS_OS_NAME ) ,osx)
182
+ BUILD_FLAGS := -include "^darwin/" -cgo
183
+ endif
184
+
180
185
travis_beta :
186
+ ifeq ($(TRAVIS_OS_NAME ) ,linux)
181
187
go run bin/get-github-release.go -extract nfpm goreleaser/nfpm 'nfpm_.*_Linux_x86_64.tar.gz'
188
+ endif
182
189
git log $(LAST_TAG).. > /tmp/git-log.txt
183
- go run bin/cross-compile.go -release beta-latest -git-log /tmp/git-log.txt -exclude " ^windows/ " -parallel 8 $(BUILDTAGS ) $(TAG ) β
190
+ go run bin/cross-compile.go -release beta-latest -git-log /tmp/git-log.txt $(BUILD_FLAGS) -parallel 8 $(BUILDTAGS) $(TAG)β
184
191
rclone --config bin/travis.rclone.conf -v copy --exclude '*beta-latest*' build/ $(BETA_UPLOAD)
185
192
ifndef BRANCH_PATH
186
193
rclone --config bin/travis.rclone.conf -v copy --include '*beta-latest*' --include version.txt build/ $(BETA_UPLOAD_ROOT)
You can’t perform that action at this time.
0 commit comments