Skip to content

Commit 4a772b6

Browse files
committed
create_source_tarball.sh: Copy prerelease.txt also when it's non-empty
1 parent 2393185 commit 4a772b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/create_source_tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ SOLDIR="$SOLDIR" git submodule foreach 'git checkout-index --all --prefix="${SOL
4545

4646
# Include the commit hash and prerelease suffix in the tarball
4747
echo "$commit_hash" > "${SOLDIR}/commit_hash.txt"
48-
[[ -e prerelease.txt && ! -s prerelease.txt ]] && cp prerelease.txt "${SOLDIR}/"
48+
[[ -e prerelease.txt ]] && cp prerelease.txt "${SOLDIR}/"
4949

5050
mkdir -p "$REPO_ROOT/upload"
5151
tar \

0 commit comments

Comments
 (0)