From c98104951cdf3dde7e09e07a366acd171e106ccd Mon Sep 17 00:00:00 2001 From: Jake Carter Date: Tue, 27 Feb 2024 14:36:02 -0700 Subject: [PATCH] Create update_version.yml --- .github/workflows/update_version.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/update_version.yml 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