We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf5498 commit adf9977Copy full SHA for adf9977
dev/create-release/release-tag.sh
@@ -74,7 +74,9 @@ git config user.email $GIT_EMAIL
74
# Create release version
75
$MVN versions:set -DnewVersion=$RELEASE_VERSION | grep -v "no value" # silence logs
76
# Set the release version in R/pkg/DESCRIPTION
77
-sed -i".tmp1" 's/Version.*$/Version: '"$RELEASE_VERSION"'/g' R/pkg/DESCRIPTION
+if [[ $RELEASE_VERSION != *"preview"* ]]; then
78
+ sed -i".tmp1" 's/Version.*$/Version: '"$RELEASE_VERSION"'/g' R/pkg/DESCRIPTION
79
+fi
80
# Set the release version in docs
81
sed -i".tmp1" 's/SPARK_VERSION:.*$/SPARK_VERSION: '"$RELEASE_VERSION"'/g' docs/_config.yml
82
sed -i".tmp2" 's/SPARK_VERSION_SHORT:.*$/SPARK_VERSION_SHORT: '"$RELEASE_VERSION"'/g' docs/_config.yml
0 commit comments