Skip to content

Commit

Permalink
Update release steps for TLP (apache#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasphin authored Jan 19, 2023
1 parent b74c5fe commit 5782150
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 388 deletions.
6 changes: 2 additions & 4 deletions community/apache-package-validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ summary() {
cat <<EOF
- [${g_valid_package_link}] the links of the package are valid;
- [${g_valid_package_name}] 'incubating' in the name;
- [${g_valid_package_checksum}] the checksum of the package is valid;
- [${g_valid_package_sig}] the signature of the package is valid;
- [${g_valid_package_content}] RELEASE_VERSION in the source code matches the current release;
- [${g_valid_package_license}] DISCLAIMER, LICENSE and NOTICE are not absent, note that we use CI based on Skywalking-eyes to check the license;
- [${g_valid_package_license}] LICENSE and NOTICE are not absent, note that we use CI based on Skywalking-eyes to check the license;
- [${g_valid_package_binary}] no compiled archives bundled in the source archive.
EOF
}
Expand All @@ -51,14 +50,13 @@ on_exit() {

validate_package() {
local ver=$(echo ${g_package_link%/} | rev | cut -d'/' -f1 | rev)
local package_name="apache-brpc-${ver}-incubating-src.tar.gz"
local package_name="apache-brpc-${ver}-src.tar.gz"

for suffix in "" ".asc" ".sha512"; do
wget --quiet -c "${g_package_link%/}/${package_name}${suffix}"
done

g_valid_package_link='x'
g_valid_package_name='x'

sha512sum --status -c ${package_name}.sha512 \
&& g_valid_package_checksum='x'
Expand Down
Loading

0 comments on commit 5782150

Please sign in to comment.