Skip to content
Merged
5 changes: 1 addition & 4 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ jobs:
tag_prefix: "v"
major_pattern: "(MAJOR)"
minor_pattern: "(MINOR)"
version_format: "${major}.${minor}.${patch}-rc${increment}"
version_format: "${major}.${minor}.${patch}-rc"
bump_each_commit: false
search_commit_body: true
namespace: "rc"

- name: Bump version and push tag
id: tag_version
Expand All @@ -58,6 +57,4 @@ jobs:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: ${{ steps.versioning.outputs.version_tag }}
body: ${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: true
commit: ${{ steps.versioning.outputs.current_commit }}
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
CI_COMMIT_AUTHOR: [email protected]

jobs:
dev:
main:
runs-on: ubuntu-latest

permissions:
Expand All @@ -30,7 +30,7 @@ jobs:
tag_prefix: "v"
major_pattern: "(MAJOR)"
minor_pattern: "(MINOR)"
version_format: "${major}.${minor}.${patch}-rc${increment}"
version_format: "${major}.${minor}.${patch}"
bump_each_commit: false
search_commit_body: true

Expand All @@ -57,6 +57,4 @@ jobs:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: ${{ steps.versioning.outputs.version_tag }}
body: ${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
commit: ${{ steps.versioning.outputs.current_commit }}
3 changes: 2 additions & 1 deletion .github/workflows/pr-version.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: PR Version

on:
pull_request_target:
types:
Expand All @@ -20,7 +22,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: "refs/pull/${{ github.event.number }}/merge"
fetch-depth: 0

- name: Perform semantic version
Expand Down