Skip to content

Commit

Permalink
Merge pull request #4 from evo-company/setup-release
Browse files Browse the repository at this point in the history
add lets command for release
  • Loading branch information
n4mespace authored Jan 19, 2024
2 parents e497efd + f42d03c commit d39b3a8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
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

0 comments on commit d39b3a8

Please sign in to comment.