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 an auto-deploy action for stable releases #1565

Merged
merged 1 commit into from
Aug 1, 2023
Merged

add an auto-deploy action for stable releases #1565

merged 1 commit into from
Aug 1, 2023

Conversation

mansona
Copy link
Member

@mansona mansona commented Jul 31, 2023

This is starting the conversation about auto-release again which was temporarily paused in #1492 to make the PR easier to get merged.

I assume this will start a large conversation but for now it's a pretty simple process: if the .release-plan.json was touched in the last commit to main then use the release script to push that to npm 👍

# This will only cause the `check-plan` job to have a result of `success`
# when the .release-plan.json file was changed on the last commit. This
# plus the fact that this action only runs on main will be enough of a guard
- run: git diff --name-only HEAD HEAD~1 | grep -w -q ".release-plan.json"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like it

@mansona mansona force-pushed the auto-release branch 2 times, most recently from 7c35c4e to 732070f Compare July 31, 2023 17:07
@mansona mansona merged commit 7a45975 into main Aug 1, 2023
196 checks passed
@mansona mansona deleted the auto-release branch August 1, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants