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 1
1
name : Publish to PyPI [Test]
2
- on : [push]
2
+ on :
3
+ push :
4
+ workflow_dispatch :
3
5
jobs :
4
6
test-pypi :
5
7
name : Create patch version number and push to test-pypi
52
54
# Tell poetry to update the version number
53
55
# ----------------------------------------------
54
56
- 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)
56
62
# ----------------------------------------------
57
63
# Attempt push to test-pypi
58
64
# ----------------------------------------------
You can’t perform that action at this time.
0 commit comments