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

Auto update major branch upon a new release #68

Merged
merged 5 commits into from
Mar 26, 2024

Conversation

idodod
Copy link
Contributor

@idodod idodod commented Mar 26, 2024

This PR adds a new target and workflow that is triggered when a new release is published.
The new target is then executed to merge the release tag to the major branch (v1) and push the branch back to remote.

with:
ref: ${{ github.ref }}
- name: Update Branch
run: earthly --ci -P +merge-release-to-major-branch --RELEASE_TAG=${{ github.ref }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this needs a --push. But I will add it in a separate PR after I see the workflow is working as expected (meaning the branch will be updated but not pushed back to the repo)

@idodod idodod marked this pull request as ready for review March 26, 2024 17:33
@idodod idodod requested a review from a team as a code owner March 26, 2024 17:33
Earthfile Outdated Show resolved Hide resolved
@idodod idodod merged commit 36a0143 into main Mar 26, 2024
14 checks passed
@idodod idodod deleted the ido-auto-update-major-branch branch March 26, 2024 18:30
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