Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add lets command for release #4

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To install package:

To release package:

- ``VERSION=<tag> MESSAGE=<message> pdm run release"``
- ``lets release 0.4.0 --message="Added feature"``

Development
-----------
Expand All @@ -38,4 +38,3 @@ TODO:
- add tests
- add `tracer` / `stats_collector` for http manager
- rm old grpc client
- add publish workflow
15 changes: 15 additions & 0 deletions lets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,18 @@ commands:
cmd: |
docker-compose run -T --rm featureflags-client \
pdm run fmt

release:
description: |
Update version in featureflags_client/__init__.py
Create new annotated tag
Push changes to remote
options: |
Usage: lets release <version> --message=<message>
Options:
<version> Set version
--message=<message>, -m Release message
Example:
lets release 0.4.0 --message="Added feature"
cmd: |
VERSION=${LETSOPT_VERSION} MESSAGE=${LETSOPT_MESSAGE} pdm run release