Skip to content

Commit 5e34c98

Browse files
committed
fix: the way in which the releaser workflow finds version suffix
1 parent 74dc9cb commit 5e34c98

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/releaser.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@ jobs:
6060
root="$(dirname "$root")"
6161
done
6262
echo "version=$version" | tee -a $GITHUB_OUTPUT
63-
echo "tag=${prefix}${version}" | tee -a $GITHUB_OUTPUT
64-
echo "suffix=${version#*[-+]}" | tee -a $GITHUB_OUTPUT
63+
tag="${prefix}${version}"
64+
echo "tag=$tag" | tee -a $GITHUB_OUTPUT
65+
suffix="${version#*[-+]}"
66+
suffix="${suffix#"$version"}"
67+
echo "suffix=$suffix" | tee -a $GITHUB_OUTPUT
6568
- id: latest
6669
if: steps.version.outputs.version != ''
6770
name: Determine latest version

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## [1.0.17] - 2024-12-06
10+
### Fixed
11+
- the releaser workflow was not setting the suffix correctly
12+
913
## [1.0.16] - 2024-12-05
1014
### Added
1115
- a `cgo` job specific configuration variable which disables cgo in the go-test workflow

0 commit comments

Comments
 (0)