diff --git a/.github/workflows/update_version.yml b/.github/workflows/update_version.yml new file mode 100644 index 00000000000..75d793823a9 --- /dev/null +++ b/.github/workflows/update_version.yml @@ -0,0 +1,26 @@ +name: Update Version Info + +on: + push: + branches: [ "release" ] + tags: [ "*" ] + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v2.3.3 + with: + cache: pip + + - name: Update Version Files + run: | + python3 .github/workflows/scripts/update_version.py + + - uses: EndBug/add-and-commit@v9