Skip to content

Commit 437b686

Browse files
committed
add LICENSE
1 parent f7fa776 commit 437b686

File tree

3 files changed

+670
-0
lines changed

3 files changed

+670
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ jobs:
5151
echo "Downloading ${BIN_ZIP_URL} ..."
5252
curl -sSL "${BIN_ZIP_URL}" -o "/tmp/${TOOL}-${ARCH}.zip"
5353
unzip -q -j "/tmp/${TOOL}-${ARCH}.zip" -d "${DIST_DIR}/"
54+
# Rename bundled README.md to include the tool name and avoid collisions
55+
if [[ -f "${DIST_DIR}/README.md" ]]; then mv "${DIST_DIR}/README.md" "${DIST_DIR}/README-${TOOL}.md"; fi
5456
chmod +x "${DIST_DIR}/${TOOL}"* || true
5557
done
5658
59+
# Include repository README (force overwrite to avoid prompts)
60+
cp -f README.md "${DIST_DIR}/"
61+
5762
# Package the distribution directory
5863
zip -qr "${DIST_DIR}.zip" "${DIST_DIR}"
5964
done

0 commit comments

Comments
 (0)