-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: Use semver instead of calver for python-gvm releases
We decided to use semantic instead if calendar versioning with the next release. This will allow to declare API compatibility constrains with every release.
- Loading branch information
1 parent
22e1951
commit e09c4a7
Showing
2 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Release python-gvm | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
workflow_dispatch: | ||
inputs: | ||
release-type: | ||
type: choice | ||
description: "Release type. One of patch, minor or major" | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
release-version: | ||
description: "Set an explicit version, that will overwrite release-type. Fails if version is not compliant." | ||
type: string | ||
|
||
jobs: | ||
build-and-release: | ||
name: Create a new release | ||
uses: greenbone/workflows/.github/workflows/release-generic.yml@main | ||
with: | ||
versioning-scheme: semver | ||
release-type: ${{ inputs.release-type }} | ||
release-version: ${{ inputs.release-version }} | ||
secrets: inherit |