Versions Compared

Key

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

...


# Edit the version numbers and comment / uncomment the relevant lines for beta, release and archive stages.
# Do not delete lines so that this file can be copied as a template for the next release.
# Test locally using eg.
# curl -sLD - https://netbeans.apache.org/nb/updates/21/updates.xml.gz -o /dev/null
# curl -sLD - https://netbeans.apache.org/nb/updates/21/tasks.jar -o /dev/null

# RC stage - redirect to last successful build on ci-builds
RedirectMatch ^/uc/21/(.*)(\?.*)?$ https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/release210/lastSuccessfulBuild/artifact/dist/netbeans/nbms/$1

# Release state - redirect everything but updates.xml(.gz) to mirrorsCDN - updates.xml.gz is a trust anchor and must be served from the same directory as this file.
# RedirectMatch ^/uc/21/((?!(updates\.xml)).*)(\?.*)?$ https://dlcdn.apache.org/netbeans/netbeans/21/nbms/$1

# Archive state - redirect everything to Apache archives once this is no longer the latest version.
# RedirectMatch ^/uc/21/((?!(updates\.xml)).*)(\?.*)?$ https://archive.apache.org/dist/netbeans/netbeans/21/nbms/$1