Skip to content

Commit 2c19b11

Browse files
committed
try new Makefile
1 parent 9e94b45 commit 2c19b11

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SHELL=/bin/bash -o pipefail
22

3-
LAST_TAG := $(shell git describe --abbrev=0 --tags)
3+
LAST_TAG ?= $(shell git describe --abbrev=0 --tags)
44

55
USER := github-release
66
EXECUTABLE := github-release
@@ -64,9 +64,10 @@ ifndef GITHUB_TOKEN
6464
endif
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 | \

release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -euo pipefail
44

55
main() {
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 "$@"

0 commit comments

Comments
 (0)