You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Petr Ivanov (Jira)" <ji...@apache.org> on 2021/10/26 09:43:00 UTC

[jira] [Commented] (IGNITE-15768) Change get version script in nightly release build after IGNITE-15645

    [ https://issues.apache.org/jira/browse/IGNITE-15768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434230#comment-17434230 ] 

Petr Ivanov commented on IGNITE-15768:
--------------------------------------

As I see in latest Nightly build [https://ci.ignite.apache.org/buildConfiguration/Releases_NightlyRelease_RunApacheIgniteNightlyRelease/6240483] – issue is resolved.

> Change get version script in nightly release build after IGNITE-15645
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-15768
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15768
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Ivan Daschinsky
>            Assignee: Petr Ivanov
>            Priority: Major
>
> After IGNITE-15645, [script|https://ci.ignite.apache.org/admin/editRunType.html?id=buildType:Releases_NightlyRelease_ApacheIgniteNightlyReleasePrepare&runnerId=RUNNER_227&cameFromUrl=%2Fadmin%2FeditBuildRunners.html%3Fid%3DbuildType%253AReleases_NightlyRelease_ApacheIgniteNightlyReleasePrepare%26init%3D1&cameFromTitle=] should be changed
> Before:
> {code}
> #!/usr/bin/env bash
> set -x
> igniteVersion=$(cat pom.xml | \
>               grep -E -m 1 '<version>[0-9]+.[0-9]+.[0-9]+(-SNAPSHOT)?</version>' | \
>               sed -r 's|.*>(.*)<.*|\1|' | sed -r 's|(.*)-SNAPSHOT|\1|').$(date +%%Y%%m%%d -d "+3 hours")
> echo "##teamcity[setParameter name='IGNITE_VERSION' value='${igniteVersion}']"
> {code}
> After 
> {code}
> #!/usr/bin/env bash
> set -x
> igniteVersion=$(cat parent/pom.xml | \
>               grep -E -m 1 '<revision>[0-9]+.[0-9]+.[0-9]+(-SNAPSHOT)?</revision>'| \
>               sed -r 's|.*>(.*)<.*|\1|' | sed -r 's|(.*)-SNAPSHOT|\1|').$(date +%%Y%%m%%d -d "+3 hours")
> echo "##teamcity[setParameter name='IGNITE_VERSION' value='${igniteVersion}']"
> {code}
> Without this change, incorrect version of nighlty build is generated - 3.0.0 instead of 2.12.0



--
This message was sent by Atlassian Jira
(v8.3.4#803005)