Skip to content

Commit 5ba871c

Browse files
committed
FIX: on push tags v*.* for releases
1 parent 00ecb9c commit 5ba871c

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/container-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Publish Container Release
33
on:
44
push:
55
tags:
6-
- 'v0.*' # Triggers on tags like 0.39, 0.40 etc.
6+
- 'v*.*'
77

88
jobs:
99
build-and-publish:
@@ -38,7 +38,6 @@ jobs:
3838

3939
- name: Extract version from tag
4040
id: get_version
41-
# Removes 'refs/tags/' prefix to get the clean version number
4241
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
4342

4443
- name: Build and push Docker image

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Create Release
33
on:
44
push:
55
tags:
6-
- 'v*.*.*' # Runs on tags like v0.40.0
6+
- 'v*.*'
77

88
jobs:
99
release:
@@ -27,7 +27,7 @@ jobs:
2727
${{ runner.os }}-maven-
2828
2929
- name: Build with Maven
30-
run: mvn -B package # 'package' phase creates the final zip artifact
30+
run: mvn -B package
3131

3232
- name: Create GitHub Release
3333
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)