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 CI for unstable canary releases #91

Merged
merged 13 commits into from
Sep 20, 2023
Merged

Add CI for unstable canary releases #91

merged 13 commits into from
Sep 20, 2023

Conversation

chrisvxd
Copy link
Member

@chrisvxd chrisvxd commented Sep 20, 2023

This PR introduces 2 new types of release:

  • canary - occurs on each master build. Tagged with canary on npm. Looks like v0.7.1-canary.aa5d202. This will enable us to test features merged to main before finalising.
  • pr - occurs on each PR build. Tagged with pr on npm. Looks like v0.7.1-pr.aa5d202. This will allow us to test features in PRs before finalising the PR. Useful for testing generator changes.

The semantic version is automatically calculated using the same tooling as the main release. No CHANGELOG is produced and currently no tag is produced either, otherwise each merge to master would result in a new tag.

* Identify the next semantic version by running regular release script (without changelog generation)
* Bumps the version again, reusing the same semver version and adding a -commit suffix

Nothing is committed during this script as it is intended to be used on CI only.
@vercel
Copy link

vercel bot commented Sep 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
puck-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2023 8:58pm

@chrisvxd chrisvxd changed the title Canary releases Add CI for unstable releases: canary and pr Sep 20, 2023
@chrisvxd chrisvxd changed the title Add CI for unstable releases: canary and pr Add CI for unstable canary releases Sep 20, 2023
.github/workflows/publish-canary.yml Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
.github/workflows/publish.yml Outdated Show resolved Hide resolved
Copy link
Member

@monospaced monospaced left a comment

Choose a reason for hiding this comment

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

Guess we need to merge this to test it, but looks good now ✅

@chrisvxd chrisvxd merged commit 9b15c6b into main Sep 20, 2023
2 checks passed
@chrisvxd chrisvxd deleted the canary-releases branch September 20, 2023 21:34
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