From 4900c2512824cc27d275a3f14845d8ef39294cae Mon Sep 17 00:00:00 2001 From: Toby Jennings Date: Fri, 10 Jan 2025 12:43:51 -0600 Subject: [PATCH] bugfix: work on PSR --- .github/workflows/release.yaml | 7 ++++++- pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7edb685..36944f4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,7 +32,12 @@ jobs: - run: >- echo "${{ github.head_ref }} merged into ${{ github.ref }} by {{ github.event.pull_request.user.name }} <{{ github.event.pull_request.user.email }}>" - - uses: actions/checkout@v4 + + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ github.sha }} - name: Make Release id: release diff --git a/pyproject.toml b/pyproject.toml index 5b55640..0b379d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,7 +129,7 @@ prerelease = false [tool.semantic_release.branches.ticket] match = "^tickets/DM-\\d+(.*)$" prerelease_token = "rc" -prerelease = false +prerelease = true [tool.semantic_release.branches.user] match = "^u/(.*)/(.*)$"