diff --git a/.github/workflows/maven-pr-3.0.yml b/.github/workflows/maven-pr-3.0.yml index ce50dded324..cd0ec236cfb 100644 --- a/.github/workflows/maven-pr-3.0.yml +++ b/.github/workflows/maven-pr-3.0.yml @@ -18,9 +18,7 @@ jobs: MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} steps: - uses: actions/checkout@v4 - name: git checkout 3.0.0 - with: - ref: 3.0.0 + name: git checkout - name: Set up Java uses: actions/setup-java@v4 with: @@ -57,7 +55,7 @@ jobs: if [[ ! $GENERATORS_VERSION =~ ^.*SNAPSHOT$ ]]; then # check release version exists - export GENERATORS_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://search.maven.org/solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen-generators%20AND%20v:${GENERATORS_VERSION}%20AND%20p:jar` + export GENERATORS_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://central.sonatype.com/solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen-generators%20AND%20v:${GENERATORS_VERSION}%20AND%20p:jar` export GENERATORS_FOUND=`echo ${GENERATORS_FOUND_JSON} | jq '.response.numFound'` echo "GENERATORS_FOUND" ${GENERATORS_FOUND} if [[ $GENERATORS_FOUND == '0' ]]; diff --git a/.github/workflows/maven-push-3.0.yml b/.github/workflows/maven-push-3.0.yml index 8b287b2ffd6..24803733da8 100644 --- a/.github/workflows/maven-push-3.0.yml +++ b/.github/workflows/maven-push-3.0.yml @@ -61,7 +61,7 @@ jobs: if [[ ! $GENERATORS_VERSION =~ ^.*SNAPSHOT$ ]]; then # check release version exists - export GENERATORS_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://search.maven.org/solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen-generators%20AND%20v:${GENERATORS_VERSION}%20AND%20p:jar` + export GENERATORS_FOUND_JSON=`curl -s --max-time 60 --retry 15 --connect-timeout 20 https://central.sonatype.com/solrsearch/select?q=g:io.swagger.codegen.v3%20AND%20a:swagger-codegen-generators%20AND%20v:${GENERATORS_VERSION}%20AND%20p:jar` export GENERATORS_FOUND=`echo ${GENERATORS_FOUND_JSON} | jq '.response.numFound'` echo "GENERATORS_FOUND" ${GENERATORS_FOUND} if [[ $GENERATORS_FOUND == '0' ]]; diff --git a/modules/swagger-codegen-cli/pom.xml b/modules/swagger-codegen-cli/pom.xml index 2a28d919a63..41b4a20cc75 100644 --- a/modules/swagger-codegen-cli/pom.xml +++ b/modules/swagger-codegen-cli/pom.xml @@ -3,7 +3,7 @@ io.swagger.codegen.v3 swagger-codegen-project - 3.0.74-SNAPSHOT + 3.0.73 ../.. 4.0.0 diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml index f517ec35a40..e674d36d475 100644 --- a/modules/swagger-codegen-maven-plugin/pom.xml +++ b/modules/swagger-codegen-maven-plugin/pom.xml @@ -6,7 +6,7 @@ io.swagger.codegen.v3 swagger-codegen-project - 3.0.74-SNAPSHOT + 3.0.73 ../.. swagger-codegen-maven-plugin diff --git a/modules/swagger-generator/pom.xml b/modules/swagger-generator/pom.xml index 890d31c08ac..0de0dfc24e7 100644 --- a/modules/swagger-generator/pom.xml +++ b/modules/swagger-generator/pom.xml @@ -4,7 +4,7 @@ io.swagger.codegen.v3 swagger-codegen-project - 3.0.74-SNAPSHOT + 3.0.73 ../.. swagger-generator diff --git a/pom.xml b/pom.xml index d1188d99240..2a8070637a0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ pom swagger-codegen-project swagger-codegen-project - 3.0.74-SNAPSHOT + 3.0.73 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git