mirror of
https://github.com/gotson/komga.git
synced 2025-12-15 13:05:57 +01:00
ci: generate openapi spec and commit back to repo on release
This commit is contained in:
parent
a0f140fdeb
commit
bf571519d7
2 changed files with 3 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ echo version=$1 >gradle.properties
|
||||||
# Build jar
|
# Build jar
|
||||||
./gradlew copyWebDist
|
./gradlew copyWebDist
|
||||||
./gradlew assemble
|
./gradlew assemble
|
||||||
|
./gradlew generateOpenApiDocs
|
||||||
|
|
||||||
# Prepare Dockerhub release
|
# Prepare Dockerhub release
|
||||||
source "$(dirname "$0")/prepare-dockerhub.sh" $1
|
source "$(dirname "$0")/prepare-dockerhub.sh" $1
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,8 @@
|
||||||
{
|
{
|
||||||
"assets": [
|
"assets": [
|
||||||
"gradle.properties",
|
"gradle.properties",
|
||||||
"CHANGELOG.md"
|
"CHANGELOG.md",
|
||||||
|
"komga/docs/openapi.json"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue