The naming is usually handled automatically by the release plugin (Except in 
non pom.xml files like documentation and RELEASE_NOTES)
So if you have references to the current SNAPSHOT version in your 
RELEASE_NOTES, I would remove the SNAPSHOT manually before running mvn 
release:prepare.
(Just stumbled into that yesterday and had to re-do my RC)

Chris

Am 27.09.19, 05:51 schrieb "Xiangdong Huang" <[email protected]>:

    Hi,
    
    Ask for help about some questions.
    
    1. Do I need to change the version from 0.8.1-SNAPSHOT to 0.8.1-RC1
    (RC2,..., RCn) first, and then 0.8.1 second?
    
    2. @Julian, Would you share the commands that you used when releasing 0.8.0
    with me? It is very helpful for me. :D.
    (commands like  what PLC4X release document said, `mvn release:branch -P
    with-cpp,with-dotnet,with-java,with-proxies,with-python,with-sandbox
    -DbranchName=rel/{minor-version} -DautoVersionSubmodules=true`)
    
    Best,
    -----------------------------------
    Xiangdong Huang
    School of Software, Tsinghua University
    
     黄向东
    清华大学 软件学院
    
    
    Xiangdong Huang <[email protected]> 于2019年9月27日周五 上午1:19写道:
    
    > Hi,
    >
    > well, after a lot of  cherry-pick operations, the following bug-fix prs
    > are involved.
    >
    > - [IOTDB-172] bug in updating startTime and endTime in TsFileResource
    >
    > - Abnormal publishing of sequence and unsequence data folders in
    > DirectoryManager
    >
    > - fix a bug in TimeRange's intersects function
    >
    > - [IOTDB-202] fix tsfile example data type
    >
    > - [IOTDB-195] Bug about 'serializedSize' in ChunkGroupMetaData.java (for
    > Chinese string)
    >
    > - [IOTDB-242] fix mvn integration-test failed because the files in the
    > target folder changes
    >
    > The first two bugs are critical while others are minors.
    >
    >
    > 4 PRs that Jialin mentioned are not included:
    >
    > * bug in tsfile batch write interface
    >         * https://github.com/apache/incubator-iotdb/pull/344
    >         * https://github.com/apache/incubator-iotdb/pull/385
    >
    > * bug of docs (maven version)
    >         * https://github.com/apache/incubator-iotdb/pull/364
    >
    > * bug of the serialized size of String
    >         * https://github.com/apache/incubator-iotdb/pull/377
    >
    > * Bug about 'serializedSize' in ChunkGroupMetaData.java
    >     * https://github.com/apache/incubator-iotdb/pull/396/files
    >
    > The first one is a bug-fix which is not affected in 0.8;
    > The 2-4 can not be included because they do not only  modify source codes
    > that 0.8 has, but also some files that only appears in 0.9.
    > Meanwhile, because these PR only has 1~2 commits and mixed the two parts
    > of modifications, just a cherry-pick operation is not enough...
    > If we really want to fix that, I have to read how these PRs solve the
    > problem and then put some codes into the rel/0.8 branch...
    >
    > Bug 2 is an error in documents, and Bug 3 and 4 will affect users if they
    > use Chinese to describe a device or a measurement.
    >
    >
    >
    >
    > Best,
    > -----------------------------------
    > Xiangdong Huang
    > School of Software, Tsinghua University
    >
    >  黄向东
    > 清华大学 软件学院
    >
    >
    > Jialin Qiao <[email protected]> 于2019年9月26日周四 下午1:03写道:
    >
    >> Hi,
    >>
    >> may be this PR:
    >>
    >> * Bug about 'serializedSize' in ChunkGroupMetaData.java
    >>     * https://github.com/apache/incubator-iotdb/pull/396/files
    >>
    >> --
    >> Jialin Qiao
    >> School of Software, Tsinghua University
    >>
    >> 乔嘉林
    >> 清华大学 软件学院
    >>
    >> > -----原始邮件-----
    >> > 发件人: "Xiangdong Huang" <[email protected]>
    >> > 发送时间: 2019-09-26 12:37:31 (星期四)
    >> > 收件人: [email protected]
    >> > 抄送:
    >> > 主题: Re: Release of 0.8.1
    >> >
    >> > Hi,
    >> >
    >> > I am working on it. Any else PRs that should be involved in 0.8.1?
    >> >
    >> > Best,
    >> > -----------------------------------
    >> > Xiangdong Huang
    >> > School of Software, Tsinghua University
    >> >
    >> >  黄向东
    >> > 清华大学 软件学院
    >> >
    >> >
    >> > Jialin Qiao <[email protected]> 于2019年9月17日周二 下午12:53写道:
    >> >
    >> > > Hi,
    >> > >
    >> > > I went through recent PRs and list those related to bug-fix of 0.8.0.
    >> > >
    >> > > * bug in updating startTime and endTime in TsFileResource
    >> > >         * https://github.com/apache/incubator-iotdb/pull/347
    >> > > * bug of Mix unsequence folder in sequence folder
    >> > >         * https://github.com/apache/incubator-iotdb/pull/393
    >> > > * bug in tsfile batch write interface
    >> > >         * https://github.com/apache/incubator-iotdb/pull/344
    >> > >         * https://github.com/apache/incubator-iotdb/pull/385
    >> > > * bug in query with partition info of TsFile
    >> > >         * https://github.com/apache/incubator-iotdb/pull/382
    >> > > * bug in tsfile module in example
    >> > >         * https://github.com/apache/incubator-iotdb/pull/378
    >> > > * bug of the serialized size of String
    >> > >         * https://github.com/apache/incubator-iotdb/pull/377
    >> > > * bug of docs (maven version)
    >> > >         * https://github.com/apache/incubator-iotdb/pull/364
    >> > >
    >> > > The 0.8.1 could contain these commits.
    >> > >
    >> > > Best,
    >> > > --
    >> > > Jialin Qiao
    >> > > School of Software, Tsinghua University
    >> > >
    >> > > 乔嘉林
    >> > > 清华大学 软件学院
    >> > >
    >> > > > -----原始邮件-----
    >> > > > 发件人: "Jialin Qiao (Jira)" <[email protected]>
    >> > > > 发送时间: 2019-09-17 11:53:00 (星期二)
    >> > > > 收件人: [email protected]
    >> > > > 抄送:
    >> > > > 主题: [jira] [Created] (IOTDB-216) Release of 0.8.1
    >> > > >
    >> > > > Jialin Qiao created IOTDB-216:
    >> > > > ---------------------------------
    >> > > >
    >> > > >              Summary: Release of 0.8.1
    >> > > >                  Key: IOTDB-216
    >> > > >                  URL:
    >> https://issues.apache.org/jira/browse/IOTDB-216
    >> > > >              Project: Apache IoTDB
    >> > > >           Issue Type: Task
    >> > > >             Reporter: Jialin Qiao
    >> > > >
    >> > > >
    >> > > > This is a bug-fix version of 0.8.0
    >> > > >
    >> > > >
    >> > > >
    >> > > >
    >> > > >
    >> > > >
    >> > > >
    >> > > > --
    >> > > > This message was sent by Atlassian Jira
    >> > > > (v8.3.2#803003)
    >> > >
    >>
    >
    

Reply via email to