File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish package
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ name : Publish package
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ with :
14+ fetch-depth : ' 0'
15+ - name : Set up Python 3.7
16+ uses : actions/setup-python@v2
17+ with :
18+ python-version : ' 3.7'
19+ - name : Install dependencies
20+ run : |
21+ pip install poetry poetry-dynamic-versioning
22+ - name : Publish package on pypi
23+ run : |
24+ poetry build
25+ poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ the `triggercmd` package is available in [PyPI](https://pypi.org/project/trigger
1414```
1515pip install triggercmd
1616```
17+ Or using the [ pipx] ( https://github.com/pypa/pipx ) for a safer installation.
18+
1719After install, you can use the triggercmd CLI client to manipulate commands on the TRIGGERcmd agent.
1820
1921## commands
Original file line number Diff line number Diff line change @@ -33,5 +33,8 @@ typer-cli = "^0.0.12"
3333triggercmd = ' triggercmd_cli.main:run'
3434
3535[build-system ]
36- requires = [" poetry-core>=1.0.0" ]
36+ requires = [" poetry-core>=1.0.0" , " poetry-dynamic-versioning " ]
3737build-backend = " poetry.core.masonry.api"
38+
39+ [tool .poetry-dynamic-versioning ]
40+ enable = true
You can’t perform that action at this time.
0 commit comments