File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 3838 with :
3939 python-version : 3.x
4040
41+ - name : Get current version
42+ id : get_version
43+ working_directory : impit-python
44+ run : |
45+ echo "current_version=$(uvx --from=toml-cli toml get --toml-path=pyproject.toml project.version)" >> "$GITHUB_OUTPUT"
46+
47+ - name : Increment version
48+ id : increment_version
49+ working_directory : impit-python
50+ run : |
51+ echo "new_version=$(npx semver -i ${ { github.event.inputs.bump } } ${{ steps.get_version.outputs.current_version }})" >> "$GITHUB_OUTPUT"
52+
53+ - name : Show new version
54+ id : show_new_version
55+ working_directory : impit-python
56+ run : |
57+ echo "New version is ${{ steps.increment_version.outputs.new_version }}"
58+
4159 - name : Download all artifacts
4260 uses : actions/download-artifact@v4
4361 with :
You can’t perform that action at this time.
0 commit comments