Skip to content

Commit 49776a6

Browse files
authored
chore: Add confirmation before tarball is released (#20207)
## Which issue does this PR close? - Closes #. ## Rationale for this change Add confirmation dialogue to confirm tarball release ## What changes are included in this PR? Update `tarball-release.sh` to ask `y/N` confirmation before it proceeds to release upload ## Are these changes tested? ## Are there any user-facing changes? No
1 parent 69d0f44 commit 49776a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dev/release/release-tarball.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ fi
4343
version=$1
4444
rc=$2
4545

46+
read -r -p "Proceed to release tarball for ${version}-rc${rc}? [y/N]: " answer
47+
answer=${answer:-no}
48+
if [ "${answer}" != "y" ]; then
49+
echo "Cancelled tarball release!"
50+
exit 1
51+
fi
52+
4653
tmp_dir=tmp-apache-datafusion-dist
4754

4855
echo "Recreate temporary directory: ${tmp_dir}"

0 commit comments

Comments
 (0)