Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
m.kindritskiy committed Feb 10, 2023
1 parent 3b1ae75 commit b37d8af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ title: Changelog

## [Unreleased](https://github.com/lets-cli/lets/releases/tag/v0.0.X)

## [0.0.50](https://github.com/lets-cli/lets/releases/tag/v0.0.50)

* `[Dependency]` upgrade cobra to 1.6.0
* `[Dependency]` upgrade logrus to 1.9.0
* `[Fixed]` Removed builtin `--help` flag for subcommands. Now using `--help` will pass this flag to underlying `cmd` script.
Expand Down
11 changes: 10 additions & 1 deletion lets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,19 @@ commands:
description: Create tag and push
options: |
Usage: lets release <version> --message=<message>
Options:
<version> Set version
<version> Set version (e.g. 1.0.0)
--message=<message>, -m Release message
Example:
lets release 1.0.0 -m "Release 1.0.0"
cmd: |
if [[ -z "$(grep "\[${LETSOPT_VERSION}\]" docs/docs/changelog.md)" ]]; then
echo "Version ${LETSOPT_VERSION} not found in changelog. Update docs/docs/changelog.md and try again."
exit 1
fi
git tag -a v${LETSOPT_VERSION} -m "${LETSOPT_MESSAGE}"
git push --tags
Expand Down

0 comments on commit b37d8af

Please sign in to comment.