CI: set version from git 2
This commit is contained in:
parent
3b3b7a07fb
commit
7b53d45026
2 changed files with 7 additions and 2 deletions
|
@ -29,7 +29,12 @@ jobs:
|
|||
|
||||
- name: Get version
|
||||
id: version
|
||||
run: echo "version=$(.venv/bin/oidc-test --version)" >> $GITHUB_OUTPUT
|
||||
run: echo "version=$(git describe)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Version
|
||||
env:
|
||||
VERSION: ${{ steps.version.outputs.version }}
|
||||
run: echo "$VERSION"
|
||||
|
||||
- name: Set the version in pyproject.toml (workaround for uv not supporting dynamic version)
|
||||
if: fromJSON(steps.builder.outputs.run)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue