<https://kotlinlang.slack.com/archives/C5UPMM0A0/p...
# arrow-contributors
s
a
do you think it would be possible to publish `alpha`s for every push to
main
, as once happened at some point?
s
Yes, for sure. The problem with the old solution was that it didn't really follow the releases. It published
alpha
instead of
SNAPSHOT
, but it incremented the number if we did an beta, RC 😕 I.e.
Copy code
2.0.0-alpha23
2.0.0-RC1
2.0.1-alpha.1 // <-- next commit after RC release
j
That is normal, after a RC, solutions like Renovate will think that any other alpha published later will be older, but you are publishing that alpha with more things than the later RC
s
I cannot imagine it's desired for most OSS projects though, and it has caused big issues for us in the past since
alpha
versions are automatically released and thus we incremented several patch versions by accident, and had broken releases on MavenCentral..
j
another solution can be having an additional branch with a specific commit with the tag as a marker for the RCs
But I wouldn’t recommend publishing an alpha that has more things than the later release, as it is not intuitive (at the end the natural cycle is alpha -> beta -> rc -> final)
a
the problem is that if we automate
alpha
releases, we get to the situation in which we release
RC1
, and then we may want to merge some fixes, which would lead to automated publication, before releasing
RC2
☝️ 1
maybe the solution is to work on a separate branch between
RC
and final 🤔
j
maybe we can detect that we are in the release cycle and stop publishing any alpha until we are again in a final release
s
I personally am not too crazy about creating a new branch for
RC
... That's why I choose to only do
SNAPSHOT
+ manual tagged releases.
We took a bit of a detour now though. So
-alpha
yey or nay?
a
I would say "yay" right now, because people is eager to try the 2.0 release, and
alpha
is the simplest way to provide those
once we near the 2.0 actual release, we can think about disabling the publication