Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL=/bin/bash -o pipefail

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

USER := github-release
EXECUTABLE := github-release
Expand Down Expand Up @@ -64,9 +64,10 @@ ifndef GITHUB_TOKEN
endif
docker run --rm --volume $(PWD)/var/cache:/root/.cache/go-build \
--env GITHUB_TOKEN=$(GITHUB_TOKEN) \
--volume "$(PWD)":/go/src/github.com/github-release/github-release \
--workdir /go/src/github.com/github-release/github-release \
meterup/ubuntu-golang:latest \
--env DEBUG_HTTP_TRAFFIC=true \
--volume "$(PWD)":/app \
--workdir /app \
golang:latest \
./release \
"$(MAKE) bin/tmp/$(EXECUTABLE) $(COMPRESSED_EXECUTABLE_TARGETS) && \
git log --format=%B $(LAST_TAG) -1 | \
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail

main() {
apt-get update && apt-get install zip
apt-get update && apt-get install -y zip bzip2
git branch --set-upstream-to=origin/master release
set -x
exec /bin/bash -c "$@"
Expand Down
Loading