Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Refactor versioning in workflows: remove 'rc' suffix and adjust job n…
…ames
  • Loading branch information
sarbagyastha committed Apr 22, 2025
commit 577015ed28a49aad4cdb7a8007d68e9c0aafeefd
1 change: 0 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
version_format: "${major}.${minor}.${patch}-rc${increment}"
bump_each_commit: false
search_commit_body: true
namespace: "rc"

- name: Bump version and push tag
id: tag_version
Expand Down
4 changes: 2 additions & 2 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 Down
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