File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ jobs:
110110 SRC="build/native/nativeCompile/${{ matrix.binary_name }}"
111111 DEST="flamingock-${VERSION}-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.artifact_suffix }}"
112112 cp "${SRC}" "${DEST}"
113+ if [[ "${{ matrix.os }}" != "windows" ]]; then
114+ chmod +x "${DEST}"
115+ fi
113116 echo "Renamed ${SRC} → ${DEST}"
114117 ls -lh "${DEST}"
115118
@@ -306,6 +309,49 @@ jobs:
306309 env :
307310 OUTPUT : release-notes.md
308311
312+ - name : Append installation instructions to release notes
313+ run : |
314+ cat >> release-notes.md << 'INSTALL_EOF'
315+
316+ ---
317+
318+ ## Installation
319+
320+ Download the appropriate binary for your platform from the assets below, then follow the instructions for your OS.
321+
322+ ### macOS (Apple Silicon)
323+
324+ ```bash
325+ # Make executable
326+ chmod +x flamingock-*-macos-arm64
327+
328+ # Remove macOS quarantine (required for unsigned binaries)
329+ xattr -d com.apple.quarantine flamingock-*-macos-arm64
330+
331+ # Move to PATH
332+ sudo mv flamingock-*-macos-arm64 /usr/local/bin/flamingock
333+ ```
334+
335+ ### Linux
336+
337+ ```bash
338+ chmod +x flamingock-*-linux-x86_64
339+ sudo mv flamingock-*-linux-x86_64 /usr/local/bin/flamingock
340+ ```
341+
342+ ### Windows
343+
344+ No additional steps required. Rename to `flamingock.exe` and add to your `PATH`.
345+
346+ ### Platform-independent JAR
347+
348+ Requires JVM 21+:
349+
350+ ```bash
351+ java -jar flamingock-cli-*.jar --help
352+ ```
353+ INSTALL_EOF
354+
309355 - name : Create GitHub Release
310356 env :
311357 GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments