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

ci: release and nightly release automation #230

Merged

Conversation

BobbieGoede
Copy link
Member

@BobbieGoede BobbieGoede commented Sep 5, 2024

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSDoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Important

These automations require an NPM_TOKEN to be set on this repo!

This PR changes the release flow:

  • Each commit on main will trigger a release on @vueuse/motion-nightly
  • Running pnpm release will let you pick which version to bump to, this will update the package version and publish a tag with that version. This triggers the release action which builds the package and publishes it to npm, adds the changes to CHANGELOG.md and a release on the repo.

I have tested these automations on https://github.com/BobbieGoede/motion, though I had to replace the package names temporarily. These automations published https://www.npmjs.com/package/@goede/motion and https://www.npmjs.com/package/@goede/motion-nightly, you can see a release on the repo here https://github.com/BobbieGoede/motion/releases/tag/v2.2.6.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have added tests (if possible).
  • I have updated the documentation accordingly.

@BobbieGoede BobbieGoede requested a review from Tahul September 5, 2024 18:19
@BobbieGoede BobbieGoede self-assigned this Sep 5, 2024
@Tahul Tahul merged commit 8e0d108 into vueuse:main Sep 6, 2024
7 checks passed
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