File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11SHELL =/bin/bash -o pipefail
22
3- LAST_TAG : = $(shell git describe --abbrev=0 --tags)
3+ LAST_TAG ? = $(shell git describe --abbrev=0 --tags)
44
55USER := github-release
66EXECUTABLE := github-release
@@ -64,9 +64,10 @@ ifndef GITHUB_TOKEN
6464endif
6565 docker run --rm --volume $(PWD)/var/cache:/root/.cache/go-build \
6666 --env GITHUB_TOKEN=$(GITHUB_TOKEN) \
67- --volume "$(PWD)":/go/src/github.com/github-release/github-release \
68- --workdir /go/src/github.com/github-release/github-release \
69- meterup/ubuntu-golang:latest \
67+ --env DEBUG_HTTP_TRAFFIC=true \
68+ --volume "$(PWD)":/app \
69+ --workdir /app \
70+ golang:latest \
7071 ./release \
7172 "$(MAKE) bin/tmp/$(EXECUTABLE) $(COMPRESSED_EXECUTABLE_TARGETS) && \
7273 git log --format=%B $(LAST_TAG) -1 | \
Original file line number Diff line number Diff line change 33set -euo pipefail
44
55main () {
6- apt-get update && apt-get install zip
6+ apt-get update && apt-get install -y zip bzip2
77 git branch --set-upstream-to=origin/master release
88 set -x
99 exec /bin/bash -c " $@ "
You can’t perform that action at this time.
0 commit comments