ci: switch versioning from CalVer to SemVer #120

Merged
lerko merged 1 commits from chore/semver-switch into main 2026-06-12 15:19:01 +00:00
4 changed files with 7 additions and 5 deletions
Showing only changes of commit e99e959b64 - Show all commits
+1 -1
View File
@@ -3,7 +3,7 @@ name: Release Binaries
on: on:
push: push:
tags: tags:
- "[0-9]*" - "v[0-9]*"
jobs: jobs:
release: release:
+4 -2
View File
@@ -3,11 +3,11 @@ name: Release Docker
on: on:
push: push:
tags: tags:
- "[0-9]*" - "v[0-9]*"
workflow_dispatch: workflow_dispatch:
inputs: inputs:
tag: tag:
description: "Image tag (e.g. 2026.06.1). Defaults to latest commit SHA." description: "Image tag (e.g. 1.0.0, no v prefix). Defaults to latest commit SHA."
required: false required: false
jobs: jobs:
@@ -27,7 +27,9 @@ jobs:
TAG="${{ github.sha }}" TAG="${{ github.sha }}"
fi fi
else else
# Docker convention: git tag v1.2.3 -> image tag 1.2.3
TAG="${{ github.ref_name }}" TAG="${{ github.ref_name }}"
TAG="${TAG#v}"
fi fi
echo "tag=$TAG" >> "$GITHUB_OUTPUT" echo "tag=$TAG" >> "$GITHUB_OUTPUT"
+1 -1
View File
@@ -3,7 +3,7 @@ name: Mirror Release to GitHub
on: on:
push: push:
tags: tags:
- "[0-9]*" - "v[0-9]*"
permissions: permissions:
contents: write contents: write
+1 -1
View File
@@ -23,7 +23,7 @@ filter_unconventional = true
split_commits = false split_commits = false
protect_breaking_commits = false protect_breaking_commits = false
filter_commits = false filter_commits = false
tag_pattern = "[0-9]*" tag_pattern = "v[0-9].*"
topo_order = false topo_order = false
sort_commits = "oldest" sort_commits = "oldest"