File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change 4040 if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4141 run : poetry install --no-interaction --no-root
4242 # ----------------------------------------------
43- # Get the current version and increment it (test-pypi requires a unique version number)
44- # ----------------------------------------------
45- - name : Get next version
46- 47- id : version
48- with :
49- scheme : semver
50- increment : patch
51- # ----------------------------------------------
52- # Tell poetry to update the version number
53- # ----------------------------------------------
54- - name : Update pyproject.toml
55- run : poetry version ${{ steps.version.outputs.major-version }}.${{ steps.version.outputs.minor-version }}.dev$(date +%s)
56- # ----------------------------------------------
5743 # Attempt push to test-pypi
5844 # ----------------------------------------------
5945 - name : Build and publish to pypi
Original file line number Diff line number Diff line change 4141 - name : Install dependencies
4242 if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4343 run : poetry install --no-interaction --no-root
44- # ------------------------------------------------------------------------------------------------
45- # Here we use version-increment to fetch the latest tagged version (we won't increment it though)
46- # ------------------------------------------------------------------------------------------------
47- - name : Get next version
48- 49- id : version
50- with :
51- scheme : semver
52- increment : patch
53- # -----------------------------------------------------------------------------
54- # Tell poetry to use the `current-version` that was found by the previous step
55- # -----------------------------------------------------------------------------
56- - name : Update pyproject.toml
57- run : poetry version ${{ steps.version.outputs.current-version }}
5844 # ----------------------------------------------
5945 # Attempt push to test-pypi
6046 # ----------------------------------------------
You can’t perform that action at this time.
0 commit comments