Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 12 additions & 52 deletions .github/release/vote-email-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,73 +6,33 @@ This is a call for vote to release Apache Texera (incubating) ${VERSION}.

== Release Candidate Artifacts ==

The release candidate artifacts can be found at:
https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/
https://dist.apache.org/repos/dist/dev/incubator/texera/${VERSION}-RC${RC_NUM}/

The artifacts include:
- apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz (source tarball)
- apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz.asc (GPG signature)
- apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz.sha512 (SHA512 checksum)
The directory contains:
- Source tarball (.tar.gz)
- GPG signature (.asc)
- SHA512 checksum (.sha512)

== Git Tag ==

The Git tag for this release candidate:
https://github.com/apache/incubator-texera/releases/tag/${TAG_NAME}

The commit hash for this tag:
${COMMIT_HASH}

== Release Notes ==

Release notes can be found at:
https://github.com/apache/incubator-texera/releases/tag/${TAG_NAME}
https://github.com/apache/texera/releases/tag/${TAG_NAME}
Commit: ${COMMIT_HASH}

== Keys ==

The artifacts have been signed with Key [${GPG_KEY_ID}], corresponding to [${GPG_EMAIL}].

The KEYS file containing the public keys can be found at:
https://dist.apache.org/repos/dist/dev/incubator/texera/KEYS

== How to Verify ==

1. Download the release artifacts:

wget https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz
wget https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz.asc
wget https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz.sha512

2. Import the KEYS file and verify the GPG signature:
The release was signed with GPG key [${GPG_KEY_ID}] (${GPG_EMAIL})
KEYS file: https://downloads.apache.org/incubator/texera/KEYS

wget https://dist.apache.org/repos/dist/dev/incubator/texera/KEYS
gpg --import KEYS
gpg --verify apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz.asc apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz

3. Verify the SHA512 checksum:

sha512sum -c apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz.sha512

4. Extract and build from source:

tar -xzf apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz
cd apache-texera-${VERSION}-rc${RC_NUM}-src
# Follow build instructions in README

== How to Vote ==
== Vote ==

The vote will be open for at least 72 hours.

Please vote accordingly:

[ ] +1 Approve the release
[ ] 0 No opinion
[ ] -1 Disapprove the release (please provide the reason)

== Checklist for Reference ==

When reviewing, please check:
== Checklist ==

[ ] Download links are valid
[ ] Checksums and PGP signatures are valid
[ ] LICENSE and NOTICE files are correct
[ ] All files have ASF license headers where appropriate
Expand All @@ -82,4 +42,4 @@ When reviewing, please check:

Thanks,
[Your Name]
Apache Texera (incubating) PPMC
Apache Texera (incubating) PPMC
23 changes: 11 additions & 12 deletions .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
fi

RC_DIR="${VERSION}-RC${RC_NUM}"
TARBALL_NAME="apache-texera-${VERSION}-rc${RC_NUM}-src.tar.gz"
TARBALL_NAME="apache-texera-${VERSION}-src.tar.gz"

echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "rc_num=$RC_NUM" >> $GITHUB_OUTPUT
Expand All @@ -95,20 +95,19 @@ jobs:
TAG_NAME="${{ steps.vars.outputs.tag_name }}"
TARBALL_NAME="${{ steps.vars.outputs.tarball_name }}"
VERSION="${{ steps.vars.outputs.version }}"
RC_NUM="${{ steps.vars.outputs.rc_num }}"

# Create a temporary directory for the archive
TEMP_DIR=$(mktemp -d)
ARCHIVE_DIR="$TEMP_DIR/apache-texera-${VERSION}-rc${RC_NUM}-src"
ARCHIVE_DIR="$TEMP_DIR/apache-texera-${VERSION}-src"

echo "Creating source archive in $ARCHIVE_DIR"

# Export the git repository at the tag
git archive --format=tar --prefix="apache-texera-${VERSION}-rc${RC_NUM}-src/" "$TAG_NAME" | tar -x -C "$TEMP_DIR"
git archive --format=tar --prefix="apache-texera-${VERSION}-src/" "$TAG_NAME" | tar -x -C "$TEMP_DIR"

# Create tarball
cd "$TEMP_DIR"
tar -czf "$GITHUB_WORKSPACE/$TARBALL_NAME" "apache-texera-${VERSION}-rc${RC_NUM}-src"
tar -czf "$GITHUB_WORKSPACE/$TARBALL_NAME" "apache-texera-${VERSION}-src"

cd "$GITHUB_WORKSPACE"

Expand Down Expand Up @@ -313,19 +312,19 @@ jobs:
echo " - Tag: https://github.com/${{ github.repository }}/releases/tag/${TAG_NAME}" >> $GITHUB_STEP_SUMMARY
echo " - Artifacts: https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Verification Commands" >> $GITHUB_STEP_SUMMARY
echo "### Verification" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Download artifacts from the staging directory and verify:" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
echo "# Download and verify signature" >> $GITHUB_STEP_SUMMARY
echo "wget https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/${TARBALL_NAME}" >> $GITHUB_STEP_SUMMARY
echo "wget https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/${TARBALL_NAME}.asc" >> $GITHUB_STEP_SUMMARY
echo "wget https://dist.apache.org/repos/dist/release/incubator/texera/KEYS" >> $GITHUB_STEP_SUMMARY
echo "# Import KEYS and verify signature" >> $GITHUB_STEP_SUMMARY
echo "gpg --import KEYS" >> $GITHUB_STEP_SUMMARY
echo "gpg --verify ${TARBALL_NAME}.asc ${TARBALL_NAME}" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "# Verify SHA512" >> $GITHUB_STEP_SUMMARY
echo "wget https://dist.apache.org/repos/dist/dev/incubator/texera/${RC_DIR}/${TARBALL_NAME}.sha512" >> $GITHUB_STEP_SUMMARY
echo "# Verify SHA512 checksum" >> $GITHUB_STEP_SUMMARY
echo "sha512sum -c ${TARBALL_NAME}.sha512" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "**KEYS file:** https://downloads.apache.org/incubator/texera/KEYS" >> $GITHUB_STEP_SUMMARY

echo "✓ Release candidate workflow completed successfully!"

Expand Down
Loading