Skip to content

Commit b67b9c2

Browse files
committed
fix multi-platform docker images
1 parent 1aabcd7 commit b67b9c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/maven-push-3.0.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
export GENERATORS_VERSION_PROPERTY=""
6666
if [[ ! $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
6767
then
68-
echo "SNAP=true" >> "$GITHUB_ENV"
6968
if [[ ! $GENERATORS_VERSION =~ ^.*SNAPSHOT$ ]];
7069
then
7170
# check release version exists
@@ -83,6 +82,8 @@ jobs:
8382
export GENERATORS_VERSION_PROPERTY=-Dswagger-codegen-generators-version=$LAST_SNAP
8483
fi
8584
fi
85+
else
86+
echo "SNAP=true" >> "$GITHUB_ENV"
8687
fi
8788
echo "GENERATORS_VERSION_PROPERTY ${GENERATORS_VERSION_PROPERTY}"
8889
echo "GENERATORS_VERSION_PROPERTY=${GENERATORS_VERSION_PROPERTY}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)