From d305406c4a7dd8cb7ca5ae99578cc02748e49d6e Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Mon, 2 Oct 2023 22:24:22 +0200 Subject: [PATCH] Added seperate action for version increments only --- .github/workflows/increase-version.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/increase-version.yml diff --git a/.github/workflows/increase-version.yml b/.github/workflows/increase-version.yml new file mode 100644 index 00000000..f3a6b66a --- /dev/null +++ b/.github/workflows/increase-version.yml @@ -0,0 +1,23 @@ +name: IncreaseVersion + +on: + workflow_dispatch + +jobs: + increase_version: + name: Increase mod version + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v3 + + - uses: actions/setup-python@v4.5.0 + with: + python-version: '3.10' + + - name: git + run: | + # setup the username and email. + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + - run: python .github/scripts/release.py \ No newline at end of file