Skip to content

Commit

Permalink
Merge pull request #52 from jeanlaurent/run-test-on-release
Browse files Browse the repository at this point in the history
Clean and run test before osx release
  • Loading branch information
jeanlaurent committed Mar 13, 2017
2 parents f3071af + f67589c commit ce617b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
bin
release
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
.PHONY: all deps osxkeychain secretservice test validate wincred

TRAVIS_OS_NAME ?= linux
VERSION = 0.4.2-dev
VERSION = 0.5.0

all: test

deps:
go get github.com/golang/lint/golint

clean:
rm -rf bin
rm -rf release

osxkeychain:
mkdir bin
go build -ldflags -s -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
Expand All @@ -17,7 +21,7 @@ codesign: osxkeychain
xcrun -log codesign -s $(SIGNINGHASH) --force --verbose bin/docker-credential-osxkeychain
xcrun codesign --verify --deep --strict --verbose=2 --display bin/docker-credential-osxkeychain

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

Expand Down

0 comments on commit ce617b3

Please sign in to comment.