Skip to main content
Version: Next Version

Release guide

Prepare, review and publish an Apache Seata™ (incubating) release using this sequence. The ASF release policy, Incubator release guide and distribution policy are authoritative.

Publication gate

A release needs both a successful Seata community vote and IPMC approval. Until then, artifacts are release candidates for developer review. Do not publish them to the release distribution area, Maven Central or a public GitHub Release, or advertise them as an official release.

1. Prepare the release​

Agree the scope and release manager on dev@seata.apache.org. Identify the release branch, version, candidate number, exact commit and release notes. Check outstanding release blockers and coordinate undisclosed security fixes privately.

Signing and access​

Use ASF release signing guidance to prepare your signing key. Publish its public key in the project's KEYS file and verify the full fingerprint. Coordinate updates to the development and release KEYS files with an authorized publisher; preserve existing keys.

Protect the private key and use a passphrase or signing agent. Do not export an unencrypted private key into the checkout or place credentials and passphrases in tracked Maven settings.

Confirm access to the ASF distribution SVN and, where used, the Maven staging service before starting. Follow the current ASF Maven publishing guidance for credentials and repository configuration.

Build from the selected revision​

Use the release revision's POM profiles, Maven wrapper and build instructions. The current development BUILDING.md is a reference, not a substitute for the prerequisites of an older release.

Record the JDK, Maven version, operating system and commands. Run the applicable tests before packaging. Commands with -DskipTests or -Dmaven.test.skip=true do not demonstrate that tests passed.

For the current development build, the separate steps are:

./mvnw -version
./mvnw clean test
# Use the JDK required for the complete distribution in BUILDING.md.
./mvnw -T 4 clean install -Prelease-seata -DskipTests

Verify that expected modules and artifacts are present. Generate source and convenience binary archives from the same candidate commit. Use an immutable candidate tag and record its full SHA; do not move a tag to replace a candidate already under review.

2. Sign and stage the candidate​

Archive names must contain incubating. The examples below use apache-seata-VERSION-incubating-src.tar.gz and apache-seata-VERSION-incubating-bin.tar.gz; use the actual filenames produced by the approved packaging configuration.

Run from a clean directory containing the archives. Replace the explicit placeholders before executing commands.

# Set these to the selected version and full signing-key fingerprint.
release_version='REPLACE_WITH_VERSION'
signing_key='REPLACE_WITH_FULL_FINGERPRINT'

for kind in src bin; do
artifact="apache-seata-${release_version}-incubating-${kind}.tar.gz"
test -f "$artifact" || exit 1
gpg --armor --local-user "$signing_key" --detach-sign "$artifact" || exit 1
shasum -a 512 "$artifact" > "$artifact.sha512" || exit 1
gpg --verify "$artifact.asc" "$artifact" || exit 1
shasum -a 512 -c "$artifact.sha512" || exit 1
done

Both archives need their own ASCII-armored detached signature and SHA-512 checksum. Inspect the resulting six files; never use a signature from a previous build.

Stage for review​

Use a distinct candidate directory such as VERSION-RC1 under the development distribution area. The following example copies only the two archives and their verification files:

# Use the version set above and a new candidate number.
rc_number='1'
candidate="${release_version}-RC${rc_number}"

svn checkout --depth=empty \
https://dist.apache.org/repos/dist/dev/incubator/seata seata-dist-dev
mkdir "seata-dist-dev/$candidate"
for kind in src bin; do
artifact="apache-seata-${release_version}-incubating-${kind}.tar.gz"
cp "$artifact" "$artifact.asc" "$artifact.sha512" \
"seata-dist-dev/$candidate/" || exit 1
done
svn add "seata-dist-dev/$candidate"
svn status seata-dist-dev
svn commit "seata-dist-dev/$candidate" -m "Stage Seata $candidate"

Ensure the KEYS update is committed and reachable before voting. If Maven artifacts are part of the candidate, stage them using the selected revision's release profile and close the staging repository for review; do not release it yet. Record its URL and identifier in the vote.

Keep draft release notes available for review without publishing a user-facing GitHub Release. Include links to CI results for the exact candidate commit.

3. Verify the candidate​

Reviewers download the staged artifacts independently. Check that download URLs resolve to the candidate being voted on, not a previous release.

Checksums and signatures​

curl --fail --location --output KEYS \
https://downloads.apache.org/incubator/seata/KEYS
gpg --import KEYS

# Set this to the version in the vote, in the candidate download directory.
release_version='REPLACE_WITH_VERSION'
for kind in src bin; do
artifact="apache-seata-${release_version}-incubating-${kind}.tar.gz"
shasum -a 512 -c "$artifact.sha512" || exit 1
gpg --verify "$artifact.asc" "$artifact" || exit 1
done

Check the signing fingerprint through an independently trusted source. A “good signature” verifies that key's signature, not the signer's identity. Do not assign ultimate owner trust merely to suppress a warning.

Source archive​

  • Confirm the version, incubating naming and the applicable Incubator DISCLAIMER.
  • Review LICENSE, NOTICE, third-party source and dependency licensing against ASF legal guidance.
  • Check ASF headers where applicable and preserve required third-party notices.
  • Ensure the source archive contains the material needed to build it, without unexpected compiled artifacts, credentials, logs or local build output.
  • Compare it to the recorded tag and SHA, explaining intentional packaging exclusions.
  • Extract it into a clean directory and follow its build instructions. Record tests actually run, results and limitations.

Convenience binary archive​

Verify its checksum, signature and correspondence to the candidate source. Inspect the actual bundled dependencies, not only the source POM: the binary archive needs its own accurate LICENSE and NOTICE coverage.

For dual-licensed dependencies, document a permitted licensing option and comply with its terms. Do not assume that choosing the apparently “most permissive” license is sufficient. Resolve unclear cases with the project and ASF legal guidance before publishing.

4. Run and close both votes​

This guide uses sequential votes: first Seata, then the Incubator. Each remains open for at least 72 hours. If the binding-vote threshold is not reached, keep the vote open or cancel it; elapsed time alone does not approve a release.

VoteListRequired approval
Podling communitydev@seata.apache.orgAt least three PPMC +1 votes, and more PPMC +1 than -1 votes
Incubator PMCgeneral@incubator.apache.orgAt least three IPMC +1 votes, and more IPMC +1 than -1 votes

Everyone may review and vote. PPMC membership alone does not confer a binding IPMC release vote. Release votes are majority votes with a minimum approval count, not veto votes; nevertheless, investigate reported defects and resolve release-blocking legal or technical issues.

Replace all placeholders below. For the second vote, include the community vote and result links, and use the same artifacts, tag, SHA and staging repository.

Vote email template
To: ${vote_list}
Subject: [VOTE] Release Apache Seata (incubating) ${version} RC${rc_number}

Hi all,

Please review and vote on this Apache Seata (incubating) candidate.

Candidate artifacts: ${candidate_url}
Closed Maven staging repository: ${staging_url}
Candidate Git tag: ${tag_url}
Exact commit SHA: ${commit_sha}
Release notes: ${release_notes_url}
KEYS: https://downloads.apache.org/incubator/seata/KEYS
Signing fingerprint: ${full_fingerprint}
Build environment and commands: ${build_details}
Tests and CI for this commit: ${validation_links}
Known limitations: ${limitations}

For the IPMC vote, include:
Podling vote thread: ${podling_vote_url}
Podling result thread: ${podling_result_url}

This vote remains open for at least 72 hours, until
${closing_datetime_utc}, and longer if the required votes are missing.
Please state your binding status and what you checked.

[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (please explain)

Regards,
${release_manager}

After each vote, publish the real tally on the same list, distinguishing binding from non-binding votes. The community result authorizes proceeding to the IPMC vote, not publishing the release.

Result email template
To: ${vote_list}
Subject: [RESULT] [VOTE] Release Apache Seata (incubating) ${version} RC${rc_number}

The vote has closed. Result: ${passed_or_not_passed}.
Binding votes: ${positive} +1, ${neutral} +0, ${negative} -1.
Binding voters and their votes: ${binding_vote_list}
Non-binding votes: ${non_binding_vote_summary}
Vote thread: ${vote_url}
Outstanding concerns and their disposition: ${concerns}

Next action: ${next_action}

Replace a defective candidate​

If artifacts need changes, cancel the active vote, explain why and prepare a new candidate with a new RC number. Do not overwrite the files, checksums or signatures while a vote is in progress. Obtain both approvals for the replacement candidate.

Cancellation email template
To: ${vote_list}
Subject: [CANCEL] [VOTE] Release Apache Seata (incubating) ${version} RC${rc_number}

I am cancelling the vote at ${vote_url}.
Reason: ${reason}
The corrected candidate will use a new RC number and a new vote.

5. Publish the approved artifacts​

Only proceed after both result threads confirm approval for the same candidate.

  1. Move the voted distribution artifacts from development to release using an authorized account.
  2. Release the exact approved, closed Maven staging repository where applicable.
  3. Publish release notes and any GitHub Release for the approved commit. Preserve source traceability and link to ASF downloads.
  4. Update the website download links after the files are available on the public distribution service.
# Only after both votes pass; use the exact approved candidate directory.
svn move \
"https://dist.apache.org/repos/dist/dev/incubator/seata/${candidate}" \
"https://dist.apache.org/repos/dist/release/incubator/seata/${release_version}" \
-m "Release Apache Seata ${release_version} (incubating)"

Promote the approved files unchanged; do not rebuild or regenerate signatures after voting. Check the download page, source and binary archives, signatures and checksums before announcing availability.

6. Announce and maintain downloads​

Send the announcement to the appropriate public project and Incubator lists. Follow the current ASF announcement guidance for wider announcements, including announce@apache.org. Use the current Incubator disclaimer and clearly identify the project as incubating.

Announcement template
Subject: [ANNOUNCE] Apache Seata (incubating) ${version} available

The Apache Seata community announces the availability of
Apache Seata (incubating) ${version}.

Apache Seata is an open-source distributed transaction solution.

Downloads: https://seata.apache.org/download/seata-server/
Release notes: ${published_release_notes_url}
Project: https://seata.apache.org/
Public discussion: dev@seata.apache.org

${current_incubation_disclaimer}

Review older releases according to the project's supported branches and ASF distribution policy. Confirm that an old release is available in the Apache archive before removing it from the active release SVN area. Archiving is not triggered by publishing a new version. Keep historical download links pointing to the archive.