File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments