Skip to content

Commit b717675

Browse files
authored
fix: fix dir name in verify script (#222)
1 parent 3401db6 commit b717675

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

dev/release/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ done
2828

2929
if [ "$#" -ne 2 ]; then
3030
echo "Usage: $0 <version> <rc>"
31-
echo " e.g.: $0 0.1.0 1"
31+
echo " e.g.: $0 0.1.0 0"
3232
exit 1
3333
fi
3434

dev/release/release_rc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SOURCE_TOP_DIR="$(cd "${SOURCE_DIR}/../../" && pwd)"
3131

3232
if [ "$#" -ne 2 ]; then
3333
echo "Usage: $0 <version> <rc>"
34-
echo " e.g.: $0 0.1.0 1"
34+
echo " e.g.: $0 0.1.0 0"
3535
exit 1
3636
fi
3737

dev/release/verify_rc.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TOP_SOURCE_DIR="$(dirname "$(dirname "${SOURCE_DIR}")")"
3131

3232
if [ "$#" -ne 2 ]; then
3333
echo "Usage: $0 <version> <rc>"
34-
echo " e.g.: $0 0.1.0 1"
34+
echo " e.g.: $0 0.1.0 0"
3535
exit 1
3636
fi
3737

@@ -42,8 +42,7 @@ VERSION="$1"
4242
RC="$2"
4343

4444
ICEBERG_DIST_BASE_URL="https://downloads.apache.org/iceberg"
45-
RC_BASE_DIR="apache-iceberg-cpp-${VERSION}-rc${RC}"
46-
DOWNLOAD_RC_BASE_URL="https://dist.apache.org/repos/dist/dev/iceberg/${RC_BASE_DIR}"
45+
DOWNLOAD_RC_BASE_URL="https://dist.apache.org/repos/dist/dev/iceberg/apache-iceberg-cpp-${VERSION}-rc${RC}"
4746
ARCHIVE_BASE_NAME="apache-iceberg-cpp-${VERSION}"
4847

4948
: "${VERIFY_DEFAULT:=1}"
@@ -143,7 +142,7 @@ cd "${VERIFY_TMPDIR}"
143142
import_gpg_keys
144143
fetch_archive
145144
ensure_source_directory
146-
pushd "${RC_BASE_DIR}"
145+
pushd "${ARCHIVE_BASE_NAME}"
147146
test_source_distribution
148147
popd
149148

0 commit comments

Comments
 (0)