-
Notifications
You must be signed in to change notification settings - Fork 18
Update azure-pipelines.yml to publish canary #14
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
Conversation
illiakovalenko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Token generation logic should be updated to check for "beta" as well, see here. Here I want to ask you to improve token resolution and just use a regexp without additional check, like this one
[a-z](\.\d+). Instead of checking additionally for "canary" or "beta, we can just remove any possible build number. - Let's remove this reference in BYOC to sitecore-jss and XP, here
- Update README
- Noticed a random thing, let's remove this rn-config
|
@addy-pathania Regarding canary token "build number removal" you can see here how it's done, since I proposed the same to Stas |
| displayName: 'lint samples' | ||
| condition: and(succeeded(), ne(variables.shouldPublish, true)) | ||
|
|
||
| # skipping the following steps until we publish the first canary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skipping scaffolding samples since it tries to install dependencies from remote npm registery.
Will revert this after we publish first canary.
art-alexeyenko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@addy-pathania This is huge, well done.
I've found a couple things that should be addressed before we merge, and I'll check the rest once these are done:
- Ensure every package (plus sample) has the correct version in package.json
- Manually re-generate ref-docs. You'll need to remove the old folders and create new ones per package
|
@addy-pathania there's one leftover reference to with it, nextjs app doesn't build. Please also update CONTRIBUTING.MD and README.md to outline the new flow for creating apps (with new names) and cleanup the old package names. |
art-alexeyenko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Let's publish this fella
Description / Motivation
@sitecore-content-sdksitecore-jssprefixTesting Details
Types of changes