Skip to content

Commit b37d8af

Browse files
author
m.kindritskiy
committed
update changelog
1 parent 3b1ae75 commit b37d8af

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

docs/docs/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: Changelog
55

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

8+
## [0.0.50](https://github.com/lets-cli/lets/releases/tag/v0.0.50)
9+
810
* `[Dependency]` upgrade cobra to 1.6.0
911
* `[Dependency]` upgrade logrus to 1.9.0
1012
* `[Fixed]` Removed builtin `--help` flag for subcommands. Now using `--help` will pass this flag to underlying `cmd` script.

lets.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,19 @@ commands:
1313
description: Create tag and push
1414
options: |
1515
Usage: lets release <version> --message=<message>
16+
1617
Options:
17-
<version> Set version
18+
<version> Set version (e.g. 1.0.0)
1819
--message=<message>, -m Release message
20+
21+
Example:
22+
lets release 1.0.0 -m "Release 1.0.0"
1923
cmd: |
24+
if [[ -z "$(grep "\[${LETSOPT_VERSION}\]" docs/docs/changelog.md)" ]]; then
25+
echo "Version ${LETSOPT_VERSION} not found in changelog. Update docs/docs/changelog.md and try again."
26+
exit 1
27+
fi
28+
2029
git tag -a v${LETSOPT_VERSION} -m "${LETSOPT_MESSAGE}"
2130
git push --tags
2231

0 commit comments

Comments
 (0)