- Execute the script on the test file.
python configcat-validator.py PKDVCLf-Hq-h-kCzMp-L7Q/NB1-IBFV50erQbSn7DXGIw ./sample_to_scan -v
- Increase the version in
setup.py
. - Commit & Push
Use the same version for the git tag as in the 2. step of the Preparation section.
- Create a new version tag.
git tag v[MAJOR].[MINOR].[PATCH]
Example:
git tag v1.2.1
- Push the tag.
git push origin --tags
- Create a new Github release with a new version tag and release notes.
At this point you should have a new docker image and pypi package with the new version you set earlier.
-
Install the CircleCI CLI.
-
Follow these instructions to configure the CLI.
-
Update the new pypi package and docker image versions in
integrations/circleci/orb.yml
in lines like:default: 1.1.0
. -
In case of major or minor version number changes update the version references in the examples section accordingly.
-
Validate the orb configuration.
circleci orb validate integrations/circleci/orb.yml
-
Publish the new orb.
circleci orb publish integrations/circleci/orb.yml configcat/feature-flag-reference-validator@[MAJOR].[MINOR].[PATCH]
Example:
circleci orb publish integrations/circleci/orb.yml configcat/[email protected]
You can also publish non-public developer versions with the
dev:
version prefix like:feature-flag-reference-validator@dev:1.2.1
-
Make sure the new version is available in the Orb Registry.
Use https://github.com/configcat/flag-reference-validator-tester