Skip to content

Commit

Permalink
fix multi-platform docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Nov 30, 2023
1 parent 1aabcd7 commit b67b9c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/maven-push-3.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
export GENERATORS_VERSION_PROPERTY=""
if [[ ! $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
then
echo "SNAP=true" >> "$GITHUB_ENV"
if [[ ! $GENERATORS_VERSION =~ ^.*SNAPSHOT$ ]];
then
# check release version exists
Expand All @@ -83,6 +82,8 @@ jobs:
export GENERATORS_VERSION_PROPERTY=-Dswagger-codegen-generators-version=$LAST_SNAP
fi
fi
else
echo "SNAP=true" >> "$GITHUB_ENV"
fi
echo "GENERATORS_VERSION_PROPERTY ${GENERATORS_VERSION_PROPERTY}"
echo "GENERATORS_VERSION_PROPERTY=${GENERATORS_VERSION_PROPERTY}" >> $GITHUB_ENV
Expand Down

0 comments on commit b67b9c2

Please sign in to comment.