It would be great if we can update the release guide on the servicecomb website.
BTW, it's strange that maven release plugin can allow the release
artifact as the dependency of SNAPSHOT.
Not sure if it relates to the flatten-maven plugin.
My suggestion is we should add a check script to avoid this mistake
just like below:
find ~/.m2/repository/org/apache/servicecomb/pack -name "0.7.0.pom" |
xargs grep "SNAPSHOT"


Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Thu, Aug 4, 2022 at 9:39 PM Lei Zhang <zhang...@apache.org> wrote:
>
> Hi, Zheng Feng
>
> In version 0.7.0, I introduced Maven CI Friendly Versions and
> flatten-maven-plugin to manage version numbers in pom.
>
> But I forgot to add flatten-maven-plugin configuration in the main pom. The
> version number in the main pom was not replaced with 0.7.0 (Still
> 0.7.0-SNAPSHOT)
>
> I have fixed this issue in the trunk and 0.7.x branch.
>
> I have rewritten the pack release guide[1] in my notes, which I will push a
> PR to the pack repo later.
>
> [1] https://coolbeevip.github.io/posts/asf/apache-release-guide/
>
> Zheng Feng <zh.f...@gmail.com> 于2022年8月4日周四 18:27写道:
>
> > Is there any doc for the release processing?
> >
> > Willem Jiang <willem.ji...@gmail.com> 于2022年8月4日周四 17:00写道:
> >
> > > Yes, we need to cut a new release to fix this issue.
> > > BTW, we also need to verify the pom project version by running some
> > > verification.
> > >
> > > Willem Jiang
> > >
> > > Twitter: willemjiang
> > > Weibo: 姜宁willem
> > >
> > > On Tue, Aug 2, 2022 at 8:21 PM Lei Zhang <zhang...@apache.org> wrote:
> > > >
> > > > Hello All,
> > > >
> > > > Our recently released 0.7.0 release contains the wrong version
> > > > 0.7.0-SNAPSHOT[1]
> > > >
> > > > I have pushed PR[2] to fix this in the 0.7.x branch and master
> > > >
> > > > I will be cutting the 0.7.1 release from the branch
> > > > https://github.com/apache/servicecomb-pack/tree/0.7.x
> > > >
> > > > @PMC/@Committers please let me know if I missed anything in this
> > release.
> > > >
> > > > [1] https://github.com/apache/servicecomb-pack/issues/763
> > > > [2] https://github.com/apache/servicecomb-pack/pull/766
> > > >
> > > > Regards
> > > >
> > > > Lei Zhang
> > >
> >

Reply via email to