Skip to content

Commit 6c01a24

Browse files
bjoernricksgreenbonebot
authored andcommitted
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.
1 parent e105de3 commit 6c01a24

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed

.github/workflows/release-pontos.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release python-gvm
2+
3+
on:
4+
pull_request:
5+
types: [closed]
6+
workflow_dispatch:
7+
inputs:
8+
release-type:
9+
type: choice
10+
description: "Release type. One of patch, minor or major"
11+
options:
12+
- patch
13+
- minor
14+
- major
15+
release-version:
16+
description: "Set an explicit version, that will overwrite release-type. Fails if version is not compliant."
17+
type: string
18+
19+
jobs:
20+
build-and-release:
21+
name: Create a new release
22+
uses: greenbone/workflows/.github/workflows/release-generic.yml@main
23+
with:
24+
versioning-scheme: semver
25+
release-type: ${{ inputs.release-type }}
26+
release-version: ${{ inputs.release-version }}
27+
secrets: inherit

0 commit comments

Comments
 (0)