Versions Compared

Key

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

...

Note: If the main site is not syncing go to selfserve.apache.org and click "synchronize git repositories".

Producing a Release Candidate

1.

...

...

Make sure you have the

...

Right Permissions

  1. You must be a PPMC member /

...

  1. Committer in Apache NetBeans
  2. You must have connected your Apache ID to Apache NetBeans GitHub via GitBox: https://gitbox.apache.org

...

  1. You must be able to change the branch being used for

...

  1. Jenkins builds,
    i.e., see 
    Jira
    serverASF JIRA
    serverId5aa69414-a9e9-3523-82ec-879b028fb15b
    keyINFRA-17082

...

  1. You shall have a PGP KEY

2. Obtaining

...

and Preparing the Release Candidate Files

  1. Determine the version of the

...

  1. release,

...

  1.   e.g. 9.0-vc1, for voting candidate 1,

...

  1. later it's going to be referred as $VERSION
  2. Go to the
  1. incubator-netbeans-release

...

  1. job on Apache's Jenkins
  2. Build with Parameters

...

  1. , fill $VERSION into the VERSION input line

...

  1. and Build

...

  1. Wait the

...

or

  1. job to

...

  1. be finished.
  2. Download and extract the build artifacts.
  3. Check the SHA512 checksums:

    Code Block
  1. find . -name '*.

...

  1. sha512' -exec 

...

  1. sha512sum --check '{}' 

...

  1. \;

...


  1. Sign the Release Files

    Code Block
    find . -name '*.zip' -exec gpg --armor --output {}.asc --detach-sig {} \;
    # STop here if nbms are not going to be published
    find . -name '*.nbm' -exec

(should print things like "<zip>: OK")

4. Signing the release candidate

-create a GPG key, see:
https://www.apache.org/dev/release-signing.html
-for each zip file ($ZIP) do:
gpg --armor --output $ZIP.asc --detach-sig $ZIP
E.g.:

...

  1.  gpg --armor --output 

...

  1. {}.asc --detach-sig 

...

or

...

  1. {} \;
    find . -name '*.

...

  1. gz' 

...

  1. -exec gpg --armor --output 

...

  1. {}.asc --detach-sig 

...

  1. {} 

...

or

  1. \;

...


  1. Verify Signatures

    Code Block
  1. find . -name '*.asc' -exec gpg --verify 

...

  1. {}

...

  1.  

...

  1. \;

...

5. Publishing them in the staging area

...


3. Verifying the Release by Checklist

  1. Go through the Apache Incubator Release Checklist
    (whether a project is in the Apache Incubator or not, these items need to be checked since they're important for all Apache releases)
  2. Check the Product version:
    Start Apache NetBeans and check the Title and the Help > About Dialog
  3. Check GPL License is present and need to be accepted:
    1. Start NetBeans with an empty User directory
    2. Open a Java SE project: installing nb-javac shall present GPL
    3. Start NetBeans with an empty User directory
    4. Create a new PHP project: installing Graal JS shall present GPL

4. Publishing them in the staging area

Create an empty directory for the release then:

Code Block
svn checkout --depth immediates https://dist.apache.org/repos/dist/

...


cd dist/dev && svn update --depth immediates incubator
cd incubator/netbeans && svn update --set-depth infinity



--publishing to staging repository:
---create directories for the release, e.g. incubating-netbeans-platform/incubating-$VERSION, incubating-netbeans-java/incubating-$VERSION
---place the source zips, convenience binaries and the sha1, md5 asn asc files into the appropriate folder, e.g.:
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-bin.zip
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-bin.zip.asc
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-bin.zip.md5
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-bin.zip.sha1
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-source.zip
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-source.zip.asc
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-source.zip.md5
incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-source.zip.sha1
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-bin.zip
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-bin.zip.asc
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-bin.zip.md5
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-bin.zip.sha1
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-source.zip
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-source.zip.asc
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-source.zip.md5
incubating-netbeans-platform/incubating-9.0-beta/incubating-netbeans-platform-9.0-beta-source.zip.sha1

...