Skip to content

Commit

Permalink
fix last release in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Nov 7, 2023
1 parent ef6e2e4 commit 5c214fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CI/lastRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def getLastReleaseTag():
tag = l["tag_name"]
if str(draft) != 'True' and tag.startswith("v2"):
return tag[1:]

return "v2.1.3"
# main
def main():
result = getLastReleaseTag()
Expand Down
5 changes: 5 additions & 0 deletions CI/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ SC_LAST_RELEASE=`python $CUR/CI/lastRelease.py`
SC_RELEASE_TITLE="Swagger Validator $SC_VERSION released!"
SC_RELEASE_TAG="v$SC_VERSION"

echo "SC_VERSION: $SC_VERSION"
echo "SC_NEXT_VERSION: $SC_NEXT_VERSION"
echo "SC_LAST_RELEASE: $SC_LAST_RELEASE"
echo "SC_RELEASE_TITLE: $SC_RELEASE_TITLE"
echo "SC_RELEASE_TAG: $SC_RELEASE_TAG"

#####################
### draft release Notes with next release after last release, with tag
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.2.1</version>
<version>1.7.1</version>
<executions>
<execution>
<id>swagger-ui</id>
Expand Down

0 comments on commit 5c214fa

Please sign in to comment.