chore(angular-ivy): Add release registry config for @sentry/angular-ivy#7303
chore(angular-ivy): Add release registry config for @sentry/angular-ivy#7303
@sentry/angular-ivy#7303Conversation
2902341 to
fd45178
Compare
.craft.yml
Outdated
| 'npm:@sentry/gatsby': | ||
| onlyIfPresent: /^sentry-gatsby-.*\.tgz$/ | ||
| 'npm:@sentry/angular-ivy': | ||
| onlyIfPresent: /^sentry-angular-ivy.*\.tgz$/ |
There was a problem hiding this comment.
is there a - missing at the end?
also any chance the angular one might be matching this one?
| onlyIfPresent: /^sentry-angular-ivy-.*\.tgz$/ | ||
| 'npm:@sentry/angular': | ||
| onlyIfPresent: /^sentry-angular-.*\.tgz$/ | ||
| onlyIfPresent: /^sentry-angular-\d.*\.tgz$/ |
There was a problem hiding this comment.
Maybe this would be a bit more explicit:
/^sentry-angular-(?!ivy-).*\.tgz$/There was a problem hiding this comment.
Hmm not sure, this would actually be safer than the \d regex. Cause theoretically (not saying this happens but nevertheless) sentry-angular-somethingotherthanivy-7.39.0.tgz would be matched by this regex.
Anyway, I think we're safe with the two current regexes so I'd keep it this way
There was a problem hiding this comment.
I mean, yeah, sure, but that also applies to any other package regex we have :D
Maybe it would be better for consistency to then update all regexes to have the \d part? My main concern is that it may be unclear in the future why this is slightly different then the others, you copy-paste one of them (which one?) etc.
This adds automatic release registry updates for the new Ivy compatible Angular SDK
still sort of ref #7265