You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I no longer think pr-release should need to be configured once per release channel, a single piece of config with some patterns/semver ranges should be able to handle n channels.
I'd never considered this before because I don't tend to juggle a large number of release channels, but thinking of e.g. React, they are up to v19 and still do security support for v15+. It would be error prone and also a chore to need specific config for each supported release, it should just work based on a convention.
Mithril technically supports 3 channels currently (0.x, 1.x, 2.x), and soon to be 4 whenever v3 is released. Releases aren't super frequent but still, it'd be nice to know that config will hold when a new channel is required.
Also great for experiments, you could start release channels for prerelease tags. E.g. next: next-(?<major>v\d)\-?(?<prerelease>.*)? could matchnext-v1, next-v2andnext-v3-hydration`. The pattern matching could be used for filtering semver tags. E.g. finding only tags that match that semver major and prerelease label. I'm using named regex syntax here but it could just be mustache or something else that is easier to write (especially in yml).
You could add minor in their too and have semver minor release channels. Which is more granular than I would ever want, but might make sense for some projects.
For simple projects we can still support the current config, if there's no patterns we just assume there's only 1 release channel.
The text was updated successfully, but these errors were encountered:
Thinking for now, all that is needed is a semver range arg just to fix #362, and maybe everything else can be covered with githubs existing interpolation support in actions yml files.
I no longer think pr-release should need to be configured once per release channel, a single piece of config with some patterns/semver ranges should be able to handle n channels.
I'd never considered this before because I don't tend to juggle a large number of release channels, but thinking of e.g. React, they are up to v19 and still do security support for v15+. It would be error prone and also a chore to need specific config for each supported release, it should just work based on a convention.
Mithril technically supports 3 channels currently (0.x, 1.x, 2.x), and soon to be 4 whenever v3 is released. Releases aren't super frequent but still, it'd be nice to know that config will hold when a new channel is required.
Also great for experiments, you could start release channels for prerelease tags. E.g.
next: next-(?<major>v\d)\-?(?<prerelease>.*)?
could match
next-v1,
next-v2and
next-v3-hydration`. The pattern matching could be used for filtering semver tags. E.g. finding only tags that match that semver major and prerelease label. I'm using named regex syntax here but it could just be mustache or something else that is easier to write (especially in yml).You could add
minor
in their too and have semver minor release channels. Which is more granular than I would ever want, but might make sense for some projects.For simple projects we can still support the current config, if there's no patterns we just assume there's only 1 release channel.
The text was updated successfully, but these errors were encountered: