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

build: automate release flow #47

Merged
merged 1 commit into from
Nov 20, 2024
Merged

build: automate release flow #47

merged 1 commit into from
Nov 20, 2024

Conversation

sherwinski
Copy link
Contributor

Adds a GitHub Action to perform the following:

  • Kick off whenever a new commit is made on the default (main) branch
  • Bump package version in package.json
    • Version bump follows semantic versioning
    • Avoid automatically publishing new major versions to prevent unintended releases
  • Publish updated package to registry (npmjs.com)
  • Add a new git tag
  • Generate release notes and add them to the changelog
  • Publish a new release to GitHub, includes change notes in release body

Note: the script is set to run in dry-run mode for debugging purposes. After initial test runs, this flag should be removed.

Copy link

@shepherd-l shepherd-l left a comment

Choose a reason for hiding this comment

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

Is the release.yml file supposed to be empty?

@sherwinski
Copy link
Contributor Author

Is the release.yml file supposed to be empty?

Whoa, good catch

Adds a GitHub Action to perform the following:

- Kick off whenever a new commit is made on the default (main) branch
- Bump package version in `package.json`
  - Version bump follows semantic versioning
  - Avoid automatically publishing new major versions to prevent unintended releases
- Publish updated package to registry (npmjs.com)
- Add a new git tag
- Generate release notes and add them to the changelog
- Publish a new release to GitHub, includes change notes in release body
Copy link

@shepherd-l shepherd-l left a comment

Choose a reason for hiding this comment

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

Lgtm!

@sherwinski sherwinski merged commit 1213cb9 into main Nov 20, 2024
@sherwinski sherwinski deleted the automate-release branch November 21, 2024 16:08
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