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 1aabcd7 commit b67b9c2Copy full SHA for b67b9c2
.github/workflows/maven-push-3.0.yml
@@ -65,7 +65,6 @@ jobs:
65
export GENERATORS_VERSION_PROPERTY=""
66
if [[ ! $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
67
then
68
- echo "SNAP=true" >> "$GITHUB_ENV"
69
if [[ ! $GENERATORS_VERSION =~ ^.*SNAPSHOT$ ]];
70
71
# check release version exists
@@ -83,6 +82,8 @@ jobs:
83
82
export GENERATORS_VERSION_PROPERTY=-Dswagger-codegen-generators-version=$LAST_SNAP
84
fi
85
+ else
86
+ echo "SNAP=true" >> "$GITHUB_ENV"
87
88
echo "GENERATORS_VERSION_PROPERTY ${GENERATORS_VERSION_PROPERTY}"
89
echo "GENERATORS_VERSION_PROPERTY=${GENERATORS_VERSION_PROPERTY}" >> $GITHUB_ENV
0 commit comments