File tree Expand file tree Collapse file tree 6 files changed +7
-9
lines changed
swagger-codegen-maven-plugin Expand file tree Collapse file tree 6 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 18
18
MAVEN_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
19
19
steps :
20
20
- uses : actions/checkout@v4
21
- name : git checkout 3.0.0
22
- with :
23
- ref : 3.0.0
21
+ name : git checkout
24
22
- name : Set up Java
25
23
uses : actions/setup-java@v4
26
24
with :
57
55
if [[ ! $GENERATORS_VERSION =~ ^.*SNAPSHOT$ ]];
58
56
then
59
57
# check release version exists
60
- 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`
58
+ 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`
61
59
export GENERATORS_FOUND=`echo ${GENERATORS_FOUND_JSON} | jq '.response.numFound'`
62
60
echo "GENERATORS_FOUND" ${GENERATORS_FOUND}
63
61
if [[ $GENERATORS_FOUND == '0' ]];
Original file line number Diff line number Diff line change 61
61
if [[ ! $GENERATORS_VERSION =~ ^.*SNAPSHOT$ ]];
62
62
then
63
63
# check release version exists
64
- 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`
64
+ 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`
65
65
export GENERATORS_FOUND=`echo ${GENERATORS_FOUND_JSON} | jq '.response.numFound'`
66
66
echo "GENERATORS_FOUND" ${GENERATORS_FOUND}
67
67
if [[ $GENERATORS_FOUND == '0' ]];
Original file line number Diff line number Diff line change 3
3
<parent >
4
4
<groupId >io.swagger.codegen.v3</groupId >
5
5
<artifactId >swagger-codegen-project</artifactId >
6
- <version >3.0.74-SNAPSHOT </version >
6
+ <version >3.0.73 </version >
7
7
<relativePath >../..</relativePath >
8
8
</parent >
9
9
<modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >io.swagger.codegen.v3</groupId >
8
8
<artifactId >swagger-codegen-project</artifactId >
9
- <version >3.0.74-SNAPSHOT </version >
9
+ <version >3.0.73 </version >
10
10
<relativePath >../..</relativePath >
11
11
</parent >
12
12
<artifactId >swagger-codegen-maven-plugin</artifactId >
Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >io.swagger.codegen.v3</groupId >
6
6
<artifactId >swagger-codegen-project</artifactId >
7
- <version >3.0.74-SNAPSHOT </version >
7
+ <version >3.0.73 </version >
8
8
<relativePath >../..</relativePath >
9
9
</parent >
10
10
<artifactId >swagger-generator</artifactId >
Original file line number Diff line number Diff line change 5
5
<packaging >pom</packaging >
6
6
<name >swagger-codegen-project</name >
7
7
<description >swagger-codegen-project</description >
8
- <version >3.0.74-SNAPSHOT </version >
8
+ <version >3.0.73 </version >
9
9
<url >https://github.com/swagger-api/swagger-codegen</url >
10
10
<scm >
11
11
<
connection >scm:git:
[email protected] :swagger-api/swagger-codegen.git</
connection >
You can’t perform that action at this time.
0 commit comments