File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- # TODO: disable when confirmed working
8- pull_request :
9- types : [opened, reopened, synchronize]
107
118env :
129 UV_VERSION : " 0.4.26"
@@ -39,12 +36,12 @@ jobs:
3936 if : ${{ env.sha }}
4037 uses : salsify/action-detect-and-tag-new-version@v2
4138 with :
42- version-command : uvx hatch version
39+ version-command : uvx --from=toml-cli toml get --toml-path=pyproject.toml project. version
4340
4441 - name : Bump version for dev release
4542 if : " ! steps.check-version.outputs.tag"
4643 run : |
47- VERSION=$(uvx hatch version)
44+ VERSION=$(uvx --from=toml-cli toml get --toml-path=pyproject.toml project. version)
4845 uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version $VERSION.dev.$(date +%s)
4946
5047 - name : Build package
You can’t perform that action at this time.
0 commit comments