Skip to content

Commit 0a26ccd

Browse files
committed
Check
1 parent f9d6ef1 commit 0a26ccd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish-test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Publish to PyPI [Test]
2-
on: [push]
2+
on:
3+
push:
4+
workflow_dispatch:
35
jobs:
46
test-pypi:
57
name: Create patch version number and push to test-pypi
@@ -52,7 +54,11 @@ jobs:
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
#----------------------------------------------

0 commit comments

Comments
 (0)