Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Commit 48b5d26

Browse files
committed
Merge branch 'bugfix/wrong_goarch'
2 parents d858395 + f40077d commit 48b5d26

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
4+
## Version 0.1.2 (2019-12-20)
5+
6+
* Fix: Binary releases now contain an executable built for the right system (#4)
7+
* Fix: Appveyor pipelines triggered for a tag incorrectly showed a branch as reference instead of a tag
8+
9+
310
## Version 0.1.1 (2019-12-18)
411

512
* Support for private GitLab instances [#2]

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ releases: man.go $(BUILD) $(BUILD)/LICENSE $(BUILD)/$(EXEC).man.1 $(BUILD)/$(EXE
4646
pandoc -v | head -n1 && \
4747
for GOARCH in amd64; \
4848
do \
49-
for GOOS in linux freebsd openbsd netbsd osx; \
49+
for GOOS in linux freebsd openbsd netbsd darwin; \
5050
do \
5151
BUILD_VERSION="$(PACKAGE)-$$(git describe --tags --dirty)-$$GOOS-$$GOARCH" && \
5252
ARCHIVE="$(BUILD)/$$BUILD_VERSION.tar.gz" && \
5353
echo "Building $$ARCHIVE..." && \
5454
mkdir -p "$(BUILD)/$$BUILD_VERSION" && \
55-
go build -ldflags "-X main.Version=$$BUILD_VERSION" -o "$(BUILD)/$(EXEC)" && \
55+
GOOS="$$GOOS" GOARCH="$$GOARCH" go build -ldflags "-X main.Version=$$BUILD_VERSION" -o "$(BUILD)/$(EXEC)" && \
5656
cp "$(BUILD)/$(EXEC)" "$(BUILD)/LICENSE" "$(BUILD)/$(EXEC).man.html" "$(BUILD)/$(EXEC).man.1" "$(BUILD)/$$BUILD_VERSION/" && \
5757
tar -C "$(BUILD)" -czf "$$ARCHIVE" "$$BUILD_VERSION" ; \
5858
done ; \

0 commit comments

Comments
 (0)