Skip to content

Commit

Permalink
Release v1.0.0 (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
noandrea authored Aug 18, 2021
1 parent aef53a4 commit be1f211
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 21 deletions.
41 changes: 37 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,43 @@
## [Unreleased]


<a name="1.0.0"></a>
## [1.0.0] - 2021-08-18
### Chore
- rename verifiable-cerdential module ([#167](https://github.com/allinbits/cosmos-cash/issues/167))
- comment formatting in cli transaction ([#161](https://github.com/allinbits/cosmos-cash/issues/161))
- **did:** renaming identfifer module to did
- **docs:** Add conventionalcommits checks ([#144](https://github.com/allinbits/cosmos-cash/issues/144)) ([#159](https://github.com/allinbits/cosmos-cash/issues/159))
- **proto:** remove ibc identifier proto files ([#105](https://github.com/allinbits/cosmos-cash/issues/105))
- **release:** add make targets and config to simplify releases ([#136](https://github.com/allinbits/cosmos-cash/issues/136))

### Docs
- expand contributing documentation ([#176](https://github.com/allinbits/cosmos-cash/issues/176))
- **adr:** adding the adr process documentation ([#120](https://github.com/allinbits/cosmos-cash/issues/120))

### Feat
- improve support for verification material ([#184](https://github.com/allinbits/cosmos-cash/issues/184))
- add support for DID Metadata ([#179](https://github.com/allinbits/cosmos-cash/issues/179))
- **ADR:** Documentation Strategy ([#129](https://github.com/allinbits/cosmos-cash/issues/129)) ([#152](https://github.com/allinbits/cosmos-cash/issues/152))
- **did:** update identifier module to version 1.0 of W3C specs
- **did:** explicitly list the supported verification relationships ([#163](https://github.com/allinbits/cosmos-cash/issues/163))
- **did:** adding commands for relationships and controllers
- **did:** add logging to the msg_server
- **did:** add blockchain account ID to verification method struct ([#135](https://github.com/allinbits/cosmos-cash/issues/135))
- **docs:** implement docs structure ([#140](https://github.com/allinbits/cosmos-cash/issues/140)) ([#157](https://github.com/allinbits/cosmos-cash/issues/157))
- **docs:** add CODEOWNERS file ([#158](https://github.com/allinbits/cosmos-cash/issues/158))
- **errors:** update issuer errors ([#110](https://github.com/allinbits/cosmos-cash/issues/110))
- **events:** add events for identifier, issuer and credenitals ([#104](https://github.com/allinbits/cosmos-cash/issues/104))
- **swagger:** add swagger docs and ui to repo ([#162](https://github.com/allinbits/cosmos-cash/issues/162))

### Fix
- add logger to test suite
- **creds:** use enums for credential types ([#106](https://github.com/allinbits/cosmos-cash/issues/106))
- **issuer:** adding check so issuers cannot create the same token


<a name="v0.2.0"></a>
## [v0.2.0] - 2021-06-23
### Build
- add makefile targets to simplify release

### Chore
- remove ibc-identifier module

Expand Down Expand Up @@ -94,6 +126,7 @@
- **integration-test:** restructure app.go and fix RegisterTxService


[Unreleased]: https://github.com/allinbits/cosmos-cash/compare/v0.2.0...HEAD
[Unreleased]: https://github.com/allinbits/cosmos-cash/compare/1.0.0...HEAD
[1.0.0]: https://github.com/allinbits/cosmos-cash/compare/v0.2.0...1.0.0
[v0.2.0]: https://github.com/allinbits/cosmos-cash/compare/v0.2.0-pre...v0.2.0
[v0.2.0-pre]: https://github.com/allinbits/cosmos-cash/compare/v21.06.03...v0.2.0-pre
35 changes: 18 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PACKAGES=$(shell go list ./...)
# build paramters
BUILD_FOLDER = build
APP_VERSION = $(git describe --tags --always)

###############################################################################
### Basic Golang Commands ###
Expand Down Expand Up @@ -65,34 +66,34 @@ changelog:
git-chglog --output CHANGELOG.md

git-release-prepare:
@echo making release
ifndef VERSION
$(error VERSION is not set, please specifiy the version you want to tag)
endif
git tag $(VERSION)
@echo making release $(APP_VERSION)
ifndef APP_VERSION
$(error APP_VERSION is not set, please specifiy the version you want to tag)
endif
git tag $(APP_VERSION)
git-chglog --output CHANGELOG.md
git tag $(VERSION) --delete
git add CHANGELOG.md && git commit -m "update changelog for v$(VERSION)"
git tag $(APP_VERSION) --delete
git add CHANGELOG.md && git commit -m "update changelog for v$(APP_VERSION)"
@echo release complete

git-tag:
ifndef VERSION
$(error VERSION is not set, please specifiy the version you want to tag)
endif
ifneq ($(shell git rev-parse --abbrev-ref HEAD),main)
$(error you are not on the main branch. aborting)
endif
git tag -s -a "$(VERSION)" -m "Changelog: https://github.com/allinbits/cosmos-cash/blob/main/CHANGELOG.md"
ifndef APP_VERSION
$(error APP_VERSION is not set, please specifiy the version you want to tag)
endif
ifneq ($(shell git rev-parse --abbrev-ref HEAD),main)
$(error you are not on the main branch. aborting)
endif
git tag -s -a "v$(APP_VERSION)" -m "Changelog: https://github.com/allinbits/cosmos-cash/blob/main/CHANGELOG.md"

_release-patch:
$(eval VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$NF = $$NF + 1;} 1' | sed 's/ /./g'))
$(eval APP_VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$NF = $$NF + 1;} 1' | sed 's/ /./g'))
release-patch: _release-patch git-release-prepare

_release-minor:
$(eval VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$(NF-1) = $$(NF-1) + 1;} 1' | sed 's/ /./g' | awk -F. '{$$(NF) = 0;} 1' | sed 's/ /./g'))
$(eval APP_VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$(NF-1) = $$(NF-1) + 1;} 1' | sed 's/ /./g' | awk -F. '{$$(NF) = 0;} 1' | sed 's/ /./g'))
release-minor: _release-minor git-release-prepare

_release-major:
$(eval VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$(NF-2) = $$(NF-2) + 1;} 1' | sed 's/ /./g' | awk -F. '{$$(NF-1) = 0;} 1' | sed 's/ /./g' | awk -F. '{$$(NF) = 0;} 1' | sed 's/ /./g' ))
$(eval APP_VERSION = $(shell git describe --tags | awk -F '("|")' '{ print($$1)}' | awk -F. '{$$(NF-2) = $$(NF-2) + 1;} 1' | sed 's/ /./g' | awk -F. '{$$(NF-1) = 0;} 1' | sed 's/ /./g' | awk -F. '{$$(NF) = 0;} 1' | sed 's/ /./g' ))
release-major: _release-major git-release-prepare

0 comments on commit be1f211

Please sign in to comment.