...
Note: If the main site is not syncing go to selfserve.apache.org and click "synchronize git repositories".
Producing a Release Candidate
1.
...
- https://wiki.apache.org/incubator/IncubatorReleaseChecklist – whether a project is in the Apache Incubator or not, these items need to be checked since they're important for all Apache releases
...
Make sure you have the
...
Right Permissions
- You must be a PPMC member /
...
- Committer in Apache NetBeans
- You must have connected your Apache ID to Apache NetBeans GitHub via GitBox: https://gitbox.apache.org
...
- You must be able to change the branch being used for
...
- Jenkins builds,
i.e., seeJira server ASF JIRA serverId 5aa69414-a9e9-3523-82ec-879b028fb15b key INFRA-17082
...
- You shall have a PGP KEY
2. Obtaining
...
and Preparing the Release Candidate Files
- Determine the version of the
...
- release,
...
- e.g. 9.0-vc1, for voting candidate 1,
...
- later it's going to be referred as $VERSION
- Go to the
...
- job on Apache's Jenkins
- Build with Parameters
...
- , fill $VERSION into the VERSION input line
...
- and Build
...
- Wait the
...
or
- job to
...
- be finished.
- Download and extract the build artifacts.
Check the SHA512 checksums:
Code Block
find . -name '*.
...
sha512' -exec
...
sha512sum --check '{}'
...
\;
...
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.:
...
gpg --armor --output
...
{}.asc --detach-sig
...
or
...
{} \; find . -name '*.
...
gz'
...
-exec gpg --armor --output
...
{}.asc --detach-sig
...
{}
...
or
\;
...
Verify Signatures
Code Block
find . -name '*.asc' -exec gpg --verify
...
{}
...
...
\;
...
5. Publishing them in the staging area
...
3. Verifying the Release by Checklist
- 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) - Check the Product version:
Start Apache NetBeans and check the Title and the Help > About Dialog - Check GPL License is present and need to be accepted:
- Start NetBeans with an empty User directory
- Open a Java SE project: installing nb-javac shall present GPL
- Start NetBeans with an empty User directory
- 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
...