We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7fa776 commit 437b686Copy full SHA for 437b686
.github/workflows/release.yml
@@ -51,9 +51,14 @@ jobs:
51
echo "Downloading ${BIN_ZIP_URL} ..."
52
curl -sSL "${BIN_ZIP_URL}" -o "/tmp/${TOOL}-${ARCH}.zip"
53
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
56
chmod +x "${DIST_DIR}/${TOOL}"* || true
57
done
58
59
+ # Include repository README (force overwrite to avoid prompts)
60
+ cp -f README.md "${DIST_DIR}/"
61
+
62
# Package the distribution directory
63
zip -qr "${DIST_DIR}.zip" "${DIST_DIR}"
64
0 commit comments