Skip to content

Commit 400ce79

Browse files
committed
Adapt version tag check
1 parent 3a6cded commit 400ce79

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@ jobs:
5151
TARGET_VERSION: ${{ github.ref_name }}
5252
- name: Check version tag
5353
run: |
54-
python -m docs.compatibility.versioning --gh-version ${{ github.ref_name }} \
55-
--gh-token ${{ secrets.GITHUB_TOKEN }}
54+
# Get last version tag
55+
LAST_VERSION=$(bo4e repo versions -qcn 1 -r ${{ github.ref_name }})
56+
bo4e pull -t $LAST_VERSION -o tmp/last_schemas
57+
bo4e diff schemas tmp/last_schemas json_schemas -o tmp/diff.json
58+
bo4e diff version-bump tmp/diff.json -aq
5659
json_schemas:
5760
name: Generate JSON-Schemas
5861
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)