Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Move the release candidate files to the release directory:

    Code Block
    languagebash
    $ svn mv -m "Release Apache Daffodil (incubating) 2.0.0" \
        https://dist.apache.org/repos/dist/dev/incubator/daffodil/2.0.0-rc1/ \
        https://dist.apache.org/repos/dist/release/incubator/daffodil/2.0.0/


  2. In the Daffodil git repository, create a signed git tag based on the release candidate tag:

    Code Block
    languagebash
    $ git tag -as -u KEYID -m "Release v2.0.0" v2.0.0 v2.0.0-rc1rc1^{}
    $ git push asf v2.0.0


  3. Release the published Nexus files by visiting https://repository.apache.org, log in, find the release in "Staging Repositories" and selecting "Release".

  4. Give approximately 24 hours for the release files to sync to mirrors and Maven Central.
     

  5.  Once the mirrors have synced, make the following changes to the daffodil site repository and publish them:

      

    1. Modify the release page to have the following parameters:

      Code Block
      released: true
      date: <date of release>
      artifact-root: "https://www.apache.org/dyn/closer.lua/incubator/daffodil/2.0.0/"
      checksum-root: "https://www.apache.org/dist/incubator/daffodil/2.0.0/"


    2. Modify the release page of the previous release to use archived root URLs, for example:

      Code Block
      artifact-root: "https://archive.apache.org/dist/incubator/daffodil/1.0.0/"
      checksum-root: "https://archive.apache.org/dist/incubator/daffodil/1.0.0/"


    3. Modify the doap.rdf file to include the release date and version, for example:

      Code Block
      languagexml
      <release>
          <Version>
              <name>Apache Daffodil</name>
              <created>2018-02-18</created>
              <revision>2.0.0</revision>
          </Version>
      </release>


    4. Update the symlink to the latest Javadoc and Scaladocs (note that there is no forward slash at the end of latest.

      Code Block
      languagebash
      $ ln -sfn 2.0.0 site/docs/latest


  6. Now that the download URLS of the previous release point to the archive, remove that release from Apache dist to free up space on mirrors:

    Code Block
    $ svn delete -m "Archive Apache Daffodil (incubating) 1.0.0" \
        https://dist.apache.org/repos/dist/release/incubator/daffodil/1.0.0/


  7. Update the JIRA versions to mark the version as released.

...