# Update Site For Release

Update/publish the Apache Tika website (tika-site SVN repo) for a release, step 17 of...

- Repository: https://github.com/apache/tika (4119 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add apache/tika --skill update-site-for-release -g -a claude-code -y`
Codex: `npx skills add apache/tika --skill update-site-for-release -g -a codex -y`
Cursor: `npx skills add apache/tika --skill update-site-for-release -g -a cursor -y`
Gemini CLI: `npx skills add apache/tika --skill update-site-for-release -g -a gemini-cli -y`

## Description

Update/publish the Apache Tika website (tika-site SVN repo) for a release, step 17 of the Release Process. Handles the 4.x track (Changes page + aggregate javadoc + Antora docs branch) vs the 3.x maintenance track (full per-version apt docs + javadoc). Use for "update the site", "publish the site for X.Y.Z", "the website part of the release".

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

Local override: `$TIKA_SKILLS_LOCAL/update-site-for-release/LOCAL.md` (default `~/.tika-skills`),
read after this file, wins on conflict.

# Update the Tika website for a release

Step 17 ("Update Tika site") of the Release Process
(<https://cwiki.apache.org/confluence/spaces/TIKA/pages/109454070/Release+Process>).
Assumes the release (tag, artifacts, VOTE, dist promotion) is done; covers the
**website** only.

**First: `cd $SITE && svn update`.** The checkout is usually behind (docs
republishes, logo/security edits land between releases); a stale base only
surfaces at the very end, after the 67 MB commit has uploaded, as
`E155011 ... is out of date`, and the whole transaction rolls back.

Set these first:
- **`$SITE`**, `tika-site` **SVN** checkout (not git): `src/site/` (sources) +
  `publish/` (generated, SVN-tracked, served; `mvn install` regenerates it and
  auto-runs `svn add --force publish` via antrun).
- **`$SCRATCH`**, release working dir: unzipped src release, `CHANGES-<NEW>.txt`,
  built javadoc.

The rest: https://github.com/apache/tika/blob/HEAD/.skills/devs/update-site-for-release/SKILL.md
