Skip to content

Commit 49ad7cb

Browse files
marko-bekhtaDavideD
authored andcommitted
Limit the DEVELOPMENT_VERSION check to ORM project only
1 parent e2bdb53 commit 49ad7cb

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

prepare-release.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ if [ -z "$RELEASE_VERSION" ]; then
1818
else
1919
echo "Setting version to '$RELEASE_VERSION'";
2020
fi
21-
if [ -z "$DEVELOPMENT_VERSION" ]; then
22-
echo "ERROR: Development version argument not supplied"
23-
exit 1
24-
else
25-
echo "Setting development version to '$DEVELOPMENT_VERSION'";
21+
if [ "$PROJECT" == "orm" ]; then
22+
if [ -z "$DEVELOPMENT_VERSION" ]; then
23+
echo "ERROR: Development version argument not supplied"
24+
exit 1
25+
else
26+
echo "Setting development version to '$DEVELOPMENT_VERSION'";
27+
fi
2628
fi
2729

2830
if [ -z "$BRANCH" ]; then

0 commit comments

Comments
 (0)