1
0
mirror of https://github.com/strongdm/comply synced 2025-12-15 10:43:47 +00:00

Compare commits

..

7 Commits

Author SHA1 Message Date
Justin McCarthy
2eac1512cb v1.0.7 2018-05-10 00:20:16 -07:00
Justin McCarthy
90a507963c push 2018-05-10 00:20:04 -07:00
Justin McCarthy
2a316ccdab v1.0.6 2018-05-10 00:18:34 -07:00
Justin McCarthy
d1fdd377ad version string 2018-05-10 00:18:23 -07:00
Justin McCarthy
7814e52b6b gitsem 2018-05-10 00:17:46 -07:00
Justin McCarthy
939349df4a gitsem 2018-05-10 00:17:00 -07:00
Justin McCarthy
1c903416d4 tgz releases 2018-05-10 00:12:00 -07:00
2 changed files with 21 additions and 8 deletions

View File

@@ -13,9 +13,10 @@ comply: assets $(GO_SOURCES)
dist: clean dist: clean
mkdir dist mkdir dist
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build $(LDFLAGS) -o dist/comply-$(VERSION)-darwin-amd64 github.com/strongdm/comply/cmd/comply GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o dist/comply-$(VERSION)-darwin-amd64 github.com/strongdm/comply/cmd/comply
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build $(LDFLAGS) -o dist/comply-$(VERSION)-linux-amd64 github.com/strongdm/comply/cmd/comply GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(LDFLAGS) -o dist/comply-$(VERSION)-linux-amd64 github.com/strongdm/comply/cmd/comply
cd dist && tar -czvf comply-$(VERSION)-darwin-amd64.tgz comply-$(VERSION)-darwin-amd64
cd dist && tar -czvf comply-$(VERSION)-linux-amd64.tgz comply-$(VERSION)-linux-amd64
clean: clean:
rm -rf dist rm -rf dist
rm -f comply rm -f comply
@@ -44,7 +45,7 @@ cleanse:
git push -f origin master git push -f origin master
git gc --aggressive --prune=all git gc --aggressive --prune=all
release: dist gh-release release: dist release-deps
github-release release \ github-release release \
--security-token $$GH_LOGIN \ --security-token $$GH_LOGIN \
--user strongdm \ --user strongdm \
@@ -57,16 +58,27 @@ release: dist gh-release
--user strongdm \ --user strongdm \
--repo comply \ --repo comply \
--tag $(VERSION) \ --tag $(VERSION) \
--name comply-$(VERSION)-darwin-amd64 \ --name comply-$(VERSION)-darwin-amd64.tgz \
--file dist/comply-$(VERSION)-darwin-amd64 --file dist/comply-$(VERSION)-darwin-amd64.tgz
github-release upload \ github-release upload \
--security-token $$GH_LOGIN \ --security-token $$GH_LOGIN \
--user strongdm \ --user strongdm \
--repo comply \ --repo comply \
--tag $(VERSION) \ --tag $(VERSION) \
--name comply-$(VERSION)-linux-amd64 \ --name comply-$(VERSION)-linux-amd64.tgz \
--file dist/comply-$(VERSION)-linux-amd64 --file dist/comply-$(VERSION)-linux-amd64.tgz
patch-release: patch release
patch: clean gitsem
gitsem patch
git push origin --tags
release-deps: gitsem gh-release
gitsem:
go get -u github.com/Clever/gitsem
gh-release: gh-release:
go get -u github.com/aktau/github-release go get -u github.com/aktau/github-release

1
VERSION Normal file
View File

@@ -0,0 +1 @@
1.0.7