File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,31 @@ jobs:
234234 find artifacts -type f -exec cp {} release-binaries/ \;
235235 ls -lh release-binaries/
236236
237+ - name : Create archives for ACP registry
238+ run : |
239+ cd release-binaries
240+
241+ # Create tar.gz for Unix platforms
242+ for binary in autohand-macos-arm64 autohand-macos-x64 autohand-linux-x64 autohand-linux-arm64; do
243+ if [ -f "$binary" ]; then
244+ chmod +x "$binary"
245+ cp "$binary" autohand
246+ tar -czvf "${binary}.tar.gz" autohand
247+ rm autohand
248+ echo "Created ${binary}.tar.gz"
249+ fi
250+ done
251+
252+ # Create zip for Windows
253+ if [ -f "autohand-windows-x64.exe" ]; then
254+ cp autohand-windows-x64.exe autohand.exe
255+ zip autohand-windows-x64.zip autohand.exe
256+ rm autohand.exe
257+ echo "Created autohand-windows-x64.zip"
258+ fi
259+
260+ ls -lh *.tar.gz *.zip 2>/dev/null || true
261+
237262 - name : Generate changelog
238263 id : changelog
239264 uses : actions/github-script@v7
You can’t perform that action at this time.
0 commit comments