Skip to content

Commit

Permalink
Check
Browse files Browse the repository at this point in the history
  • Loading branch information
jprakash-db committed Dec 26, 2024
1 parent f9d6ef1 commit 0a26ccd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Publish to PyPI [Test]
on: [push]
on:
push:
workflow_dispatch:
jobs:
test-pypi:
name: Create patch version number and push to test-pypi
Expand Down Expand Up @@ -52,7 +54,11 @@ jobs:
# Tell poetry to update the version number
#----------------------------------------------
- name: Update pyproject.toml
run: poetry version ${{ steps.version.outputs.major-version }}.${{ steps.version.outputs.minor-version }}.dev$(date +%s)
run: |
echo "Major version - ${{ steps.version.outputs.major-version }}"
echo "Minor version - ${{ steps.version.outputs.minor-version }}"
echo "Current Version - ${{ steps.version.outputs.current-version }}"
poetry version ${{ steps.version.outputs.major-version }}.${{ steps.version.outputs.minor-version }}.dev$(date +%s)
#----------------------------------------------
# Attempt push to test-pypi
#----------------------------------------------
Expand Down

0 comments on commit 0a26ccd

Please sign in to comment.