Skip to content

Commit 6c0b52b

Browse files
author
Elijah ben Izzy
committed
Add -src suffix to source release archive name
Rename git archive from apache-burr-{version}-incubating.tar.gz to apache-burr-{version}-incubating-src.tar.gz to clearly distinguish the source archive from other artifacts in the release.
1 parent 1a9fdf3 commit 6c0b52b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

scripts/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ wget https://downloads.apache.org/incubator/burr/KEYS
120120
gpg --import KEYS
121121

122122
# Verify git archive signature
123-
gpg --verify apache-burr-${VERSION}-incubating.tar.gz.asc apache-burr-${VERSION}-incubating.tar.gz
123+
gpg --verify apache-burr-${VERSION}-incubating-src.tar.gz.asc apache-burr-${VERSION}-incubating-src.tar.gz
124124

125125
# Verify sdist signature
126126
gpg --verify apache-burr-${VERSION}-incubating-sdist.tar.gz.asc apache-burr-${VERSION}-incubating-sdist.tar.gz
@@ -129,13 +129,13 @@ gpg --verify apache-burr-${VERSION}-incubating-sdist.tar.gz.asc apache-burr-${VE
129129
gpg --verify apache_burr-${VERSION}-py3-none-any.whl.asc apache_burr-${VERSION}-py3-none-any.whl
130130

131131
# 3. Verify all SHA512 checksums
132-
echo "$(cat apache-burr-${VERSION}-incubating.tar.gz.sha512) apache-burr-${VERSION}-incubating.tar.gz" | sha512sum -c -
132+
echo "$(cat apache-burr-${VERSION}-incubating-src.tar.gz.sha512) apache-burr-${VERSION}-incubating-src.tar.gz" | sha512sum -c -
133133
echo "$(cat apache-burr-${VERSION}-incubating-sdist.tar.gz.sha512) apache-burr-${VERSION}-incubating-sdist.tar.gz" | sha512sum -c -
134134
echo "$(cat apache_burr-${VERSION}-py3-none-any.whl.sha512) apache_burr-${VERSION}-py3-none-any.whl" | sha512sum -c -
135135

136136
# 4. Extract the source archive
137-
tar -xzf apache-burr-${VERSION}-incubating.tar.gz
138-
cd apache-burr-${VERSION}-incubating/
137+
tar -xzf apache-burr-${VERSION}-incubating-src.tar.gz
138+
cd apache-burr-${VERSION}-incubating-src/
139139

140140
# 5. Install build dependencies
141141
pip install flit
@@ -216,7 +216,7 @@ python scripts/verify_apache_artifacts.py licenses --rat-jar apache-rat-0.15.jar
216216
python scripts/verify_apache_artifacts.py all --rat-jar apache-rat-0.15.jar
217217

218218
# Inspect artifact contents
219-
python scripts/verify_apache_artifacts.py list-contents dist/apache-burr-0.41.0.tar.gz
219+
python scripts/verify_apache_artifacts.py list-contents dist/apache-burr-0.41.0-incubating-src.tar.gz
220220
python scripts/verify_apache_artifacts.py list-contents dist/apache_burr-0.41.0-py3-none-any.whl
221221
```
222222

scripts/apache_release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@ def _create_git_archive(version: str, rc_num: str, output_dir: str = "dist") ->
343343

344344
os.makedirs(output_dir, exist_ok=True)
345345

346-
archive_name = f"apache-burr-{version}-incubating.tar.gz"
346+
archive_name = f"apache-burr-{version}-incubating-src.tar.gz"
347347
archive_path = os.path.join(output_dir, archive_name)
348-
prefix = f"apache-burr-{version}-incubating/"
348+
prefix = f"apache-burr-{version}-incubating-src/"
349349

350350
_run_command(
351351
[

scripts/verify_apache_artifacts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
Usage:
2626
# List contents of an artifact
27-
python scripts/verify_apache_artifacts.py list-contents dist/apache-burr-0.41.0.tar.gz
27+
python scripts/verify_apache_artifacts.py list-contents dist/apache-burr-0.41.0-incubating-src.tar.gz
2828
2929
# Verify signatures and checksums
3030
python scripts/verify_apache_artifacts.py signatures
@@ -653,7 +653,7 @@ def main():
653653
epilog="""
654654
Examples:
655655
# List contents of a specific artifact
656-
python scripts/verify_apache_artifacts.py list-contents dist/apache-burr-0.41.0.tar.gz
656+
python scripts/verify_apache_artifacts.py list-contents dist/apache-burr-0.41.0-incubating-src.tar.gz
657657
python scripts/verify_apache_artifacts.py list-contents dist/apache_burr-0.41.0-py3-none-any.whl
658658
659659
# Verify signatures and checksums only

0 commit comments

Comments
 (0)