Versions Compared

Key

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

...

  1. Prior to creating the release candidate, the version setting in build.sbt should contain the -SNAPSHOT keyword. Create and merge a pull request to remove this keyword in preparation for a non-snapshot release.

  2. From within the root of the Daffodil directory, execute the scripts/release-candidate.sh script, providing the release candidate label (e.g. rc1), the path to the root of apache-dist directory created above, your Apache login credentials (e.g. for https://id.apache.org), and your long format gpg key id (e.g. --keyid-format LONG), like so:

    Code Block
    languagebash
    $ ./scripts/release-candidate.sh


    The credentials are used to publish the jars to the Apache staging repo. You will also be asked to enter the password for your private gpg key created above to sign the published jars and the zip/tars . This script will perform the following actions:

    1. Create a zip of the source

    2. Create a tgz, zip, and rpm

    3. Calculate sha1, sha256, sha512 checksums of the above files

    4. Create ASCII armored detached signatures of the above files

    5. Stages jars/poms to https://repository.apache.org

    6. Create a git tag

  3. Once the script completes, you should verify all the files. This includes verifying the checksums and signatures created in the Apache dist directories, verifying the staged jars/poms at https://repository.apache.org/, and verify the git tag is correct. 

    1. If anything does not look correct, delete the files in Apache dist, "drop" the published jars/poms, and delete the git tag. 

  4. After verifying all is correct, commit the changes:

    1. Commit the files in Apache dist, for example:

      Code Block
      languagebash
      svn add dev/incubator/daffodil/*
      svn ci -m "Stage Apache Daffodil (incubating) 2.0.0-rc1"


    2. Close the published Nexus files by visiting https://repository.apache.org, log in, find the release in "Staging Repositories" and select "Close".

    3. Push the git tag

      Code Block
      languagebash
      git push --tag asf 2.0.0-rc1


...