git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (CALCITE-2385) Cannot build if we update the AVATICA_VERSION in the dockerfile during a dry-run release


Francis Chuang created CALCITE-2385:
---------------------------------------

             Summary: Cannot build if we update the AVATICA_VERSION in the dockerfile during a dry-run release
                 Key: CALCITE-2385
                 URL: https://issues.apache.org/jira/browse/CALCITE-2385
             Project: Calcite
          Issue Type: Bug
          Components: avatica
            Reporter: Francis Chuang


This happens when building a dry-run release per the instructions here: [https://calcite.apache.org/avatica/docs/howto.html#making-a-release-for-calcite-committers]

If we patch the dockerfile to include `-SNAPSHOT`, maven fails due to there being modified files in the working tree.

If we do not patch the docker file, maven fails because it expects AVATICA_VERSION to be $VERSION-SNAPSHOT rather than $VERSION.

A solution would be to exclude the docker file from being checked for modifications in pom.xml. Is this a reasonable approach?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)