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/(.*)/(.*)$"