Versions Compared

Key

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

...

1. Obtaining and preparing the files

1.1 On Apache Jenkins

  1. You have to set up json file milestone content.
  2. Go to https://builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/
  3. Check that the build on release<version> and verify artefacts they should be branded with beta in their name. Cancel and relaunch build otherwise
  4. Wait for the job to be finished.
  5. Keep the build

1.2 On your computer once the build described in 1.1 above has succeeded:

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

    Code Block
    languagebash
    themeMidnight
    find . -name '*.sha512' -execdir sha512sum --check '{}' \;
    #alternative
    for z in $(find . -name '*.sha512'); do cd $(dirname $z); sha512sum ./$(basename $z) --check --quiet; cd - >/dev/null; done


1.3 On the NetBeans virtual machine

  1. Prepare apidoc folder according to json file:

    Code Block
    languagebash
    themeMidnight
    sudo su -
    cd /var/www/bits.netbeans.org
    mkdir **version** 
    
    


...

1. Obtaining and Preparing the Voting Candidate Files

1.1 On Apache Jenkins:

  1. You have to set up json file milestone content.
  2. Go to the https://builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/
  3. Check that the build on release<version> and verify artefacts they should be branded with like a voting candidate. Cancel and relaunch build otherwise
  4. Wait for the job to be finished.
  5. Keep the build

1.2 On your computer, once the build described in 1.1 above has succeeded:

  1. Download and extract the build artifacts, specifically, "(all files in ZIP)" for "dist/netbeans" and "dist/netbeans-platform". This gets us the IDE, source and binary, NBM modules, and platform source and binary.
  2. Check the SHA512 checksums:

    Code Block
    languagebash
    themeMidnight
    find . -name '*.sha512' -execdir sha512sum --check '{}' \;
    #alternative
    for z in $(find . -name '*.sha512'); do cd $(dirname $z); sha512sum ./$(basename $z) --check --quiet; cd - >/dev/null; done


  3. Sign the Release Files

    Code Block
    languagebash
    themeMidnight
    export GPG_EMAIL="YOU@apache.org"
    find . -name '*.zip' -exec gpg -u $GPG_EMAIL --armor --output {}.asc --detach-sign {} \;
    # Stop here if nbms are not going to be published
    find . -name '*.nbm' -exec gpg -u $GPG_EMAIL --armor --output {}.asc --detach-sign {} \;
    find . -name '*.gz' -exec gpg -u $GPG_EMAIL --armor --output {}.asc --detach-sign {} \;
    # nbm licenses
    find . -name '*.license' -exec gpg -u $GPG_EMAIL --armor --output {}.asc --detach-sign {} \;
    # nbm/updates.xml and nbm/tasks.jar
    find . -name '*.jar' -exec gpg -u $GPG_EMAIL --armor --output {}.asc --detach-sign {} \;
    find . -name '*.xml' -exec gpg -u $GPG_EMAIL --armor --output {}.asc --detach-sign {} \;


  4. Verify Signatures

    Code Block
    languagebash
    themeMidnight
    find . -name '*.asc' -exec gpg --verify {} \;


...