diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1081222..6ca4ad9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -136,5 +136,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | + PRE="" + case "${GITHUB_REF_NAME}" in *-*) PRE="--prerelease" ;; esac gh release create "${GITHUB_REF_NAME}" "$DIST_DIR"/* \ - --title "${GITHUB_REF_NAME}" --generate-notes --verify-tag + --title "${GITHUB_REF_NAME}" --generate-notes --verify-tag $PRE diff --git a/Sources/athena/Athena.swift b/Sources/athena/Athena.swift index 7092ac9..7f6cd89 100644 --- a/Sources/athena/Athena.swift +++ b/Sources/athena/Athena.swift @@ -14,7 +14,7 @@ struct Athena: AsyncParsableCommand { /// Single source of the daemon version — also stamped into the /// served OpenAPI document (`info.version`) so the spec can never /// report a version other than the build that serves it. - static let appVersion = "0.11.0" + static let appVersion = "0.12.0-dev1" static let configuration = CommandConfiguration( commandName: "athena",