Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github action to create new release branch #285

Closed
wants to merge 1 commit into from

Conversation

unidevel
Copy link
Contributor

@unidevel unidevel commented Jan 22, 2025

Tested this action in my repo
https://github.com/unidevel/tempto/actions/runs/12866132197/job/35868067734

The flow of this action

graph TD
    A[workflow_dispatch] --> B1[Checkout code]
    subgraph build-and-branch-out
        B1 --> B2[Set up JDK]
        B2 --> B3[Set up gradle.properties]
        B3 --> B4[Test Gradle Build]
        B4 --> B5["Get latest release tag(e.g. 1.54)"]
        B5 --> B6["Advance release version(e.g. 1.55)"]
        B6 --> B7["Generate changelog(CHANGELOG.md)"]
        B7 --> B8["Create release branch(e.g. release-1.55)"]
        B8 --> B9[Push changelog to release branch]
    end
Loading

@unidevel unidevel marked this pull request as ready for review January 22, 2025 07:35
Copy link
Contributor

@ZacBlanco ZacBlanco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from the matrix. I don't think we want this action to run more than once since it's performing writes

fail-fast: true
matrix:
java-version:
- 8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need a matrix if we only have one version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove matrix in the new PR @ZacBlanco

@unidevel
Copy link
Contributor Author

Will use an org repo to do testing so close this one for now.

@unidevel unidevel closed this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants