Skip to content

Commit 6b4a85a

Browse files
Fix MacOS native build + doc
1 parent 3e99f29 commit 6b4a85a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/create-github-release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,15 @@ jobs:
3131
shell: bash
3232
run: |
3333
mkdir dist
34+
35+
# Linux/macOS binaries may have no extension, Windows has .exe
3436
BIN_PATH=$(find target -type f \( -name "*.exe" -o -perm -111 \) | head -n 1)
37+
38+
# MacOS fallback: if not found, pick any file in target
39+
if [[ -z "$BIN_PATH" ]]; then
40+
BIN_PATH=$(find target -type f | head -n 1)
41+
fi
42+
3543
echo "Found binary: $BIN_PATH"
3644
cp "$BIN_PATH" dist/
3745
echo "bin_path=$BIN_PATH" >> $GITHUB_OUTPUT

release_process.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
- **In `main` branch:**
1111
- Set project version in `pom.xml` to `X.Y.Z` (remove the `-SNAPSHOT`)
1212
- Update `README.md` (with new `X.Y.Z` dependency version)
13-
- Update `CHANGELOG.md` with changes
13+
- Update `CHANGELOG.md` with changes **!IMPORTANT: Respect format!**
1414
- Update `ROADMAP.md` if necessary
1515
- Update `SECURITY.md` if necessary
1616
- Commit locally
1717
- Tag with appropriate `vX.Y.Z`
1818
- Push code & tags
1919

2020
- **In Github:**
21-
- Create new release based on `vX.Y.Z` tag: copy content of `CHANGELOG.md` for this version
21+
- Action `create-github-release` triggers automatically on tag push `vX.Y.Z` on `main` branch
22+
- Content matching of `CHANGELOG.md` for this version is used
2223
- Github `release` workflow will run automatically
2324
- Few minutes later, artifact is available on Maven Central 🎉
2425
- Update wiki if required

0 commit comments

Comments
 (0)