Skip to content

Extract GitHub Release creation to separate job - #32

Merged
AkaZver merged 1 commit into
masterfrom
feature/release-notes-stage
Jul 29, 2026
Merged

AkaZver merged 1 commit into
masterfrom
feature/release-notes-stage

Conversation

@AkaZver

@AkaZver AkaZver commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

This PR extracts the GitHub Release creation step into a separate job that runs after successful publishing to both Gradle Plugin Portal and Maven Central.

Changes

Workflow Improvements

Before:

  • GitHub Release was created as part of the \publish-gradle-portal\ job
  • Release could be created even if Maven Central publishing failed

After:

  • New \create-release\ job that depends on both \publish-gradle-portal\ and \publish-maven-central\
  • GitHub Release is only created after successful publishing to both repositories
  • Better separation of concerns - each job has a single responsibility

Behavior

The workflow still triggers only on tags on master branch:

  • Both publish jobs verify the tag is on master
  • If either publish job fails, the release job won't run
  • Release notes are generated automatically using \gh release create --generate-notes\

Files Changed

  • .github/workflows/main.yml\ - Extracted release creation to separate job

@sonarqubecloud

Copy link
Copy Markdown

@AkaZver
AkaZver merged commit 7e4b36f into master Jul 29, 2026
7 checks passed
@AkaZver
AkaZver deleted the feature/release-notes-stage branch July 29, 2026 13:30
@AkaZver AkaZver self-assigned this Jul 29, 2026
@AkaZver AkaZver added the enhancement New feature or request label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant