File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11name : Publish to PyPI [Test]
2- on : [push]
2+ on :
3+ push :
4+ workflow_dispatch :
35jobs :
46 test-pypi :
57 name : Create patch version number and push to test-pypi
5254 # Tell poetry to update the version number
5355 # ----------------------------------------------
5456 - name : Update pyproject.toml
55- run : poetry version ${{ steps.version.outputs.major-version }}.${{ steps.version.outputs.minor-version }}.dev$(date +%s)
57+ run : |
58+ echo "Major version - ${{ steps.version.outputs.major-version }}"
59+ echo "Minor version - ${{ steps.version.outputs.minor-version }}"
60+ echo "Current Version - ${{ steps.version.outputs.current-version }}"
61+ poetry version ${{ steps.version.outputs.major-version }}.${{ steps.version.outputs.minor-version }}.dev$(date +%s)
5662 # ----------------------------------------------
5763 # Attempt push to test-pypi
5864 # ----------------------------------------------
You can’t perform that action at this time.
0 commit comments