File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 71
71
- checkout
72
72
- setup_remote_docker :
73
73
version : 17.07.0-ce
74
+ - run : mkdir -v -p ${HOME}/bin
75
+ - run : curl -L 'https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2' | tar xvjf - --strip-components 3 -C ${HOME}/bin
76
+ - run : echo 'export PATH=${HOME}/bin:${PATH}' >> ${BASH_ENV}
74
77
- attach_workspace :
75
78
at : .
76
79
- run : make tarballs-release
Original file line number Diff line number Diff line change @@ -41,13 +41,6 @@ crossbuild: deps $(PROMU)
41
41
@echo " >> crossbuilding all binaries"
42
42
$(PROMU ) crossbuild -v
43
43
44
- .PHONY : tarballs-release
45
- tarballs-release : $(PROMU )
46
- @echo " >> Publishing tarballs"
47
- $(PROMU ) crossbuild tarballs
48
- $(PROMU ) checksum .tarballs
49
- $(PROMU ) release .tarballs
50
-
51
44
# deps fetches all necessary golang dependencies, since they are not checked into repository.
52
45
.PHONY : deps
53
46
deps : vendor
@@ -99,6 +92,13 @@ tarball: $(PROMU)
99
92
@echo " >> building release tarball"
100
93
$(PROMU ) tarball --prefix $(PREFIX ) $(BIN_DIR )
101
94
95
+ .PHONY : tarballs-release
96
+ tarballs-release : $(PROMU )
97
+ @echo " >> Publishing tarballs"
98
+ $(PROMU ) crossbuild tarballs
99
+ $(PROMU ) checksum .tarballs
100
+ $(PROMU ) release .tarballs
101
+
102
102
# test runs all Thanos golang tests.
103
103
.PHONY : test
104
104
test : test-deps
You can’t perform that action at this time.
0 commit comments