Skip to content

Commit

Permalink
changelog update
Browse files Browse the repository at this point in the history
  • Loading branch information
23doors committed Jul 27, 2021
1 parent b54c22f commit da297ff
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Outblocks CLI Changelog

## [v0.1.9](https://github.com/outblocks/outblocks-cli/compare/v0.1.8...v0.1.9)

> 2021-07-27
### BUG FIXES

[`b54c22f`](https://github.com/outblocks/outblocks-cli/commit/b54c22fb38806650344f6e5c17b2626abe307995) plugins updating


## [v0.1.8](https://github.com/outblocks/outblocks-cli/compare/v0.1.7...v0.1.8)

> 2021-07-27
Expand Down
9 changes: 6 additions & 3 deletions tools/dev/makefiles/changelog.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ GITCHGLOG := $(DEV_BIN_PATH)/git-chglog_$(GITCHGLOG_VERSION)
SEMVERBOT_VERSION ?= 0.2.0
SEMVERBOT := $(DEV_BIN_PATH)/sbot_$(SEMVERBOT_VERSION)

SEMVER_PREDICT_VERSION = $(shell $(SEMVERBOT) predict version)

.PHONY: release

$(GITCHGLOG):
Expand All @@ -29,12 +31,13 @@ $(SEMVERBOT):
release: $(GITCHGLOG) $(SEMVERBOT)

release: ## Create new release and update changelog
$(GITCHGLOG) --next-tag v`sbot predict version` $(STARTING_VERSION)..
echo $(SEMVER_PREDICT_VERSION)
$(GITCHGLOG) --next-tag v$(SEMVER_PREDICT_VERSION) v$(SEMVER_PREDICT_VERSION)..

echo
echo "Releasing v$$(sbot predict version). Continue? [y/N] " && read ans && [ $${ans:-N} = y ]
echo "Releasing v$(SEMVER_PREDICT_VERSION). Continue? [y/N] " && read ans && [ $${ans:-N} = y ]

$(GITCHGLOG) --next-tag v`sbot predict version` --output CHANGELOG.md $(STARTING_VERSION)..
$(GITCHGLOG) --next-tag v$(SEMVER_PREDICT_VERSION) --output CHANGELOG.md $(STARTING_VERSION)..
git add CHANGELOG.md
git commit -m "changelog update"
git push
Expand Down

0 comments on commit da297ff

Please sign in to comment.