From 0adb844fdd005ab3e05c7febb5d58afb63c5fa23 Mon Sep 17 00:00:00 2001 From: "Ing. Fabian Franz Steiner BSc." Date: Mon, 24 Feb 2025 13:40:37 +0100 Subject: [PATCH 1/2] Add conditional push options for main branch in release workflow --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbfe5cd..332b2be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,6 +79,7 @@ jobs: with: commit_message: "Update CHANGELOG for release ${{ steps.gitversion.outputs.semVer }}" file_pattern: "CHANGELOG.md" + push_options: ${{ github.ref == 'refs/heads/main' && '--force' || '' }} - uses: actions/setup-python@v5 @@ -106,6 +107,7 @@ jobs: with: commit_message: "Update pyproject.toml for release ${{ steps.gitversion.outputs.semVer }}" file_pattern: "pyproject.toml" + push_options: ${{ github.ref == 'refs/heads/main' && '--force' || '' }} - name: Build release distributions run: | From 74d9f566355004f6487179da5bdb5bacab2a8230 Mon Sep 17 00:00:00 2001 From: fasteiner <75947402+fasteiner@users.noreply.github.com> Date: Mon, 24 Feb 2025 12:41:30 +0000 Subject: [PATCH 2/2] Update pyproject.toml for release 0.4.0-preview.198 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 254bf61..be41d04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "xurrent" -version = "0.4.0-preview.193" +version = "0.4.0-preview.198" authors = [ { name="Fabian Steiner", email="fabian@stei-ner.net" }, ] @@ -18,7 +18,7 @@ Homepage = "https://github.com/fasteiner/xurrent-python" Issues = "https://github.com/fasteiner/xurrent-python/issues" [tool.poetry] name = "xurrent" -version = "0.4.0-preview.193" +version = "0.4.0-preview.198" description = "A python module to interact with the Xurrent API." authors = ["Ing. Fabian Franz Steiner BSc. "] readme = "README.md"