Skip to content

Commit

Permalink
fix CI for v1
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Apr 5, 2024
1 parent 483f871 commit 6757ea4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
12 changes: 12 additions & 0 deletions CI/post-release-v1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ python $CUR/CI/publishReleaseV1.py "$SC_RELEASE_TAG"
#####################
mvn versions:set -DnewVersion="${SC_NEXT_VERSION}-SNAPSHOT"
mvn versions:commit

#####################
### update all other versions in files around to the new release, including readme ###
#####################
sc_find="<version>$SC_VERSION"
sc_replace="<version>${SC_NEXT_VERSION}-SNAPSHOT"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/README.md

sc_find="<version>$SC_VERSION<\/version>"
sc_replace="<version>${SC_NEXT_VERSION}-SNAPSHOT<\/version>"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/scripts/pom.xml

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# Swagger Inflector <img src="https://raw.githubusercontent.com/swagger-api/swagger.io/wordpress/images/assets/SW-logo-clr.png" height="50" align="right">

[![Build Status](https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-inflector-v1)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-inflector-v1)

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-inflector/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/io.swagger/swagger-inflector)

[![Build Status](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-inflector-v1/badge/icon?subject=jenkins%20build)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-inflector-v1/)

----

**NOTE:** If you're looking for `swagger-inflector` 2.X and OpenApi 3.0, please refer to [master branch](https://github.com/swagger-api/swagger-inflector)
Expand Down
2 changes: 1 addition & 1 deletion scripts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-inflector</artifactId>
<version>1.0.25</version>
<version>1.0.26-SNAPSHOT</version>
</dependency>
</dependencies>
<properties>
Expand Down

0 comments on commit 6757ea4

Please sign in to comment.