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)
|
||||
|
|
2
uv.lock
generated
2
uv.lock
generated
|
@ -482,7 +482,7 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "oidc-fastapi-test"
|
||||
version = "0.1.2"
|
||||
version = "0.0.0"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "authlib" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue