Skip to content

Commit adf9977

Browse files
committed
Fix
1 parent 3bf5498 commit adf9977

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/create-release/release-tag.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ git config user.email $GIT_EMAIL
7474
# Create release version
7575
$MVN versions:set -DnewVersion=$RELEASE_VERSION | grep -v "no value" # silence logs
7676
# Set the release version in R/pkg/DESCRIPTION
77-
sed -i".tmp1" 's/Version.*$/Version: '"$RELEASE_VERSION"'/g' R/pkg/DESCRIPTION
77+
if [[ $RELEASE_VERSION != *"preview"* ]]; then
78+
sed -i".tmp1" 's/Version.*$/Version: '"$RELEASE_VERSION"'/g' R/pkg/DESCRIPTION
79+
fi
7880
# Set the release version in docs
7981
sed -i".tmp1" 's/SPARK_VERSION:.*$/SPARK_VERSION: '"$RELEASE_VERSION"'/g' docs/_config.yml
8082
sed -i".tmp2" 's/SPARK_VERSION_SHORT:.*$/SPARK_VERSION_SHORT: '"$RELEASE_VERSION"'/g' docs/_config.yml

0 commit comments

Comments
 (0)