Skip to content

Commit ffebcac

Browse files
committed
Add tag variable
1 parent 424dba7 commit ffebcac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: dev/release/08-matlab-upload.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ fi
2828

2929
version=$1
3030
rc=$2
31-
version_with_rc=${version}-rc${rc}
3231

3332
: ${UPLOAD_DEFAULT=1}
3433
: ${UPLOAD_FORCE_SIGN=${UPLOAD_DEFAULT}}
@@ -67,9 +66,9 @@ pushd "${ARROW_ARTIFACTS_DIR}"
6766
if [ ${UPLOAD_FORCE_SIGN} -gt 0 ]; then
6867
# Upload the MATLAB MLTBX Release Candidate to the GitHub Releases
6968
# area of the Apache Arrow GitHub project.
70-
mltbx_file=matlab-arrow-${version_with_rc}.mltbx
71-
mltbx_signature_gpg_ascii_armor=${mltbx_file}.asc
72-
mltbx_checksum_sha512=${mltbx_file}.sha512
69+
mltbx_file="matlab-arrow-${version}.mltbx"
70+
mltbx_signature_gpg_ascii_armor="${mltbx_file}.asc"
71+
mltbx_checksum_sha512="${mltbx_file}.sha512"
7372

7473
rm -rf ${mltbx_signature_gpg_ascii_armor}
7574
rm -rf ${mltbx_checksum_sha512}
@@ -81,6 +80,7 @@ if [ ${UPLOAD_FORCE_SIGN} -gt 0 ]; then
8180
shasum --algorithm 512 ${mltbx_file} > ${mltbx_checksum_sha512}
8281
fi
8382

83+
tag="apache-arrow-${version_with_rc}"
8484
gh release upload ${tag} \
8585
--clobber \
8686
--repo apache/arrow \

0 commit comments

Comments
 (0)