From: Tuukka Lehtonen Date: Sun, 18 Dec 2016 22:26:54 +0000 (+0200) Subject: Fixed release engineering target platform preparation instructions X-Git-Tag: v1.25.0~2^2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=c6133d637f50045f7827056b604587ab13a2dae9;p=simantics%2Fplatform.git Fixed release engineering target platform preparation instructions refs #6621 refs #6848 Change-Id: I4d4b0b62ac1e87a841c6f9807d60ed3998fd2ede --- diff --git a/releng/doc/release.html b/releng/doc/release.html index e92cd1e6e..0708ef4c3 100644 --- a/releng/doc/release.html +++ b/releng/doc/release.html @@ -359,28 +359,41 @@ git checkout release/x.y.z[.w]
  • -

    Edit the beginning of the file releng/org.simantics.sdk.build.targetdefinition/simantics.target

    +

    Edit all target platform files in releng/org.simantics.sdk.build.targetdefinition/, i.e.

    + +

    At the beginning of each .target file, increment sequenceNumber by 1

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
     <?pde version="3.8"?>
    -<target name="Simantics 1.25.0" sequenceNumber="10">
    -<locations>
    -<location includeAllPlatforms="true" includeConfigurePhase="false" includeMode="slicer" includeSource="true" type="InstallableUnit">
    -<unit id="org.simantics.sdk.feature.group" version="1.25.0"/>
    -<repository location="http://www.simantics.org/download/master/sdk"/>
    -</location>
    +<target name="Simantics x.y.z[.w]" sequenceNumber="11">
    +
    +

    Next, replace the following rows in those files:

    +
    <repository location="http://www.simantics.org/download/master/sdk"/>
    +<repository location="http://www.simantics.org/download/master/external-components/maven"/>
    +<repository location="http://www.simantics.org/download/master/external-components/manual"/>
    +
    +

    with

    +
    <repository location="http://www.simantics.org/download/release/x.y.z[.w]/sdk"/>
    +<repository location="http://www.simantics.org/download/release/x.y.z[.w]/external-components/maven"/>
    +<repository location="http://www.simantics.org/download/release/x.y.z[.w]/external-components/manual"/>
     
    -
  • Initialize release branch distribution web site

    diff --git a/releng/doc/release.md b/releng/doc/release.md index a9a681bf2..b21bbeec5 100644 --- a/releng/doc/release.md +++ b/releng/doc/release.md @@ -58,26 +58,42 @@ With service releases, branch from an existing `release/*` branch instead. git branch release/x.y.z[.w] remotes/origin/release/x.y.z[.w] git checkout release/x.y.z[.w] -2. Edit the beginning of the file `releng/org.simantics.sdk.build.targetdefinition/simantics.target` +2. Edit all target platform files in `releng/org.simantics.sdk.build.targetdefinition/`, i.e. + * `simantics.target` + * `org.simantics.sdk.build.targetdefinition.target` + * `org.simantics.sdk.build.targetdefinition-semantum.target` + + At the beginning of each .target file, increment `sequenceNumber` by 1 ~~~ - - - - + + ~~~ + + Next, replace the following rows in those files: + + ~~~ - + + ~~~ - * Change ` + + + ~~~ ### Initialize release branch distribution web site -* Run the [SDK/Simantics SDK](https://www.simantics.org/jenkins/job/SDK/job/Simantics SDK) build with parameters: - * `REFSPEC: refs/heads/release/x.y.z[.w]` - * `PUBLISHED_BRANCH_NAME: release/x.y.z[.w]` +* Run [SDK/Deploy External Components to Web](https://www.simantics.org/jenkins/job/SDK/job/Deploy%20External%20Components%20to%20Web/) build with parameters: + * **GERRIT_REFNAME:** `release/x.y.z[.w]` + * **PUBLISH_ARTIFACTS:** `true` +* Run the [SDK/Simantics SDK](https://www.simantics.org/jenkins/job/SDK/job/Simantics%20SDK/) build with parameters: + * **GERRIT_REFNAME:** `release/x.y.z[.w]` + * **PUBLISH_ARTIFACTS:** `true` ## Review documentation