Skip to content

Commit ce617b3

Browse files
authored
Merge pull request #52 from jeanlaurent/run-test-on-release
Clean and run test before osx release
2 parents f3071af + f67589c commit ce617b3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
bin
2+
release

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
.PHONY: all deps osxkeychain secretservice test validate wincred
22

33
TRAVIS_OS_NAME ?= linux
4-
VERSION = 0.4.2-dev
4+
VERSION = 0.5.0
55

66
all: test
77

88
deps:
99
go get github.com/golang/lint/golint
1010

11+
clean:
12+
rm -rf bin
13+
rm -rf release
14+
1115
osxkeychain:
1216
mkdir bin
1317
go build -ldflags -s -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
@@ -17,7 +21,7 @@ codesign: osxkeychain
1721
xcrun -log codesign -s $(SIGNINGHASH) --force --verbose bin/docker-credential-osxkeychain
1822
xcrun codesign --verify --deep --strict --verbose=2 --display bin/docker-credential-osxkeychain
1923

20-
osxrelease: codesign
24+
osxrelease: clean test codesign
2125
mkdir -p release
2226
cd bin && tar cvfz ../release/docker-credential-osxkeychain-v$(VERSION)-amd64.tar.gz docker-credential-osxkeychain
2327

0 commit comments

Comments
 (0)