1
0
mirror of https://github.com/strongdm/comply synced 2025-12-15 19:00:50 +00:00

Compare commits

..

13 Commits

Author SHA1 Message Date
Justin McCarthy
911b84dedc increment minor for release 2018-05-10 00:39:06 -07:00
Justin McCarthy
d212e627fd minor release 2018-05-10 00:38:38 -07:00
Justin McCarthy
29edb6c90a intro minor release 2018-05-10 00:38:19 -07:00
Justin McCarthy
62d05e3358 increment patch for release 2018-05-10 00:37:05 -07:00
Justin McCarthy
e08d88ee49 increment patch for release 2018-05-10 00:34:50 -07:00
Justin McCarthy
80bdc44f14 ordering 2018-05-10 00:34:39 -07:00
Justin McCarthy
41dbf7ca19 message 2018-05-10 00:34:10 -07:00
Justin McCarthy
182aa3d9ed v1.0.12 2018-05-10 00:32:15 -07:00
Justin McCarthy
57ea96e4c9 define version immediately before use 2018-05-10 00:31:58 -07:00
Justin McCarthy
5a58efd983 v1.0.11 2018-05-10 00:28:05 -07:00
Justin McCarthy
68a67cb50b v1.0.10 2018-05-10 00:26:20 -07:00
Justin McCarthy
06afa72dee redefine verison 2018-05-10 00:26:08 -07:00
Justin McCarthy
fc9c908a42 v1.0.9 2018-05-10 00:22:02 -07:00
2 changed files with 12 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
.DEFAULT_GOAL := comply .DEFAULT_GOAL := comply
GO_SOURCES := $(shell find . -name '*.go') GO_SOURCES := $(shell find . -name '*.go')
THEME_SOURCES := $(shell find themes) THEME_SOURCES := $(shell find themes)
VERSION := $(shell git describe --tags --always --dirty="-dev")
LDFLAGS := -ldflags='-X "cli.Version=$(VERSION)"'
assets: $(THEME_SOURCES) assets: $(THEME_SOURCES)
go-bindata-assetfs -pkg theme -prefix themes themes/... go-bindata-assetfs -pkg theme -prefix themes themes/...
@@ -12,6 +10,8 @@ comply: assets $(GO_SOURCES)
go build github.com/strongdm/comply/cmd/comply go build github.com/strongdm/comply/cmd/comply
dist: clean dist: clean
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
$(eval LDFLAGS := -ldflags='-X "cli.Version=$(VERSION)"')
mkdir dist mkdir dist
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=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 -gcflags=-trimpath=$(GOPATH) -asmflags=-trimpath=$(GOPATH) $(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
@@ -46,6 +46,7 @@ cleanse:
git gc --aggressive --prune=all git gc --aggressive --prune=all
release: dist release-deps release: dist release-deps
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
github-release release \ github-release release \
--security-token $$GH_LOGIN \ --security-token $$GH_LOGIN \
--user strongdm \ --user strongdm \
@@ -71,8 +72,15 @@ release: dist release-deps
patch-release: patch release patch-release: patch release
minor-release: minor release
patch: clean gitsem patch: clean gitsem
gitsem patch gitsem -m "increment patch for release" patch
git push
git push origin --tags
minor: clean gitsem
gitsem -m "increment minor for release" minor
git push git push
git push origin --tags git push origin --tags

View File

@@ -1 +1 @@
1.0.8 1.1.0