Skip to content

Commit 2c7993a

Browse files
Fix release flow
1 parent aef14b2 commit 2c7993a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "Git tag: $RELEASE_VERSION"
3636
echo "Pom version: $POM_VERSION"
3737
38-
if [ "${RELEASE_VERSION}-SNAPSHOT" != "$POM_VERSION" ]; then
38+
if [ "$RELEASE_VERSION" != "$POM_VERSION" ]; then
3939
echo "Error: Git tag ($RELEASE_VERSION) does not match pom.xml version ($POM_VERSION)"
4040
exit 1
4141
fi

release_process.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Note: `pom.xml` must have `X.Y.Z-SNAPSHOT` version
99

1010
- **In `main` branch:**
11+
- Set project version in `pom.xml` to `X.Y.Z` (remove the `-SNAPSHOT`)
1112
- Update `README.md` (with new `X.Y.Z` dependency version)
1213
- Update `CHANGELOG.md` with changes
1314
- Update `ROADMAP.md` if necessary

0 commit comments

Comments
 (0)