File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Check out
14+ uses : actions/checkout@v4
15+
16+ - name : Install build tools
17+ run : pip install hatch
18+
19+ - name : Build package
20+ run : hatch build
21+
22+ - name : Publish to PyPI
23+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -344,6 +344,14 @@ PYTHONPATH=src python3 -m featurevisor test \
344344 --projectDirectoryPath=/path/to/featurevisor-project
345345```
346346
347+ ## Releasing
348+
349+ - Update version in pyproject.toml
350+ - Push commit to main branch
351+ - Wait for CI to complete
352+ - Tag the release with the version number ` vX.X.X `
353+ - This will trigger a new release to PyPI
354+
347355## License
348356
349357MIT © [ Fahad Heylaal] ( https://fahad19.com )
You can’t perform that action at this time.
0 commit comments