We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6cded commit 400ce79Copy full SHA for 400ce79
1 file changed
.github/workflows/python-publish.yml
@@ -51,8 +51,11 @@ jobs:
51
TARGET_VERSION: ${{ github.ref_name }}
52
- name: Check version tag
53
run: |
54
- python -m docs.compatibility.versioning --gh-version ${{ github.ref_name }} \
55
- --gh-token ${{ secrets.GITHUB_TOKEN }}
+ # Get last version tag
+ 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
59
json_schemas:
60
name: Generate JSON-Schemas
61
runs-on: ubuntu-latest
0 commit comments