Skip to content

Commit b35b702

Browse files
committed
adding acp registry modifications
1 parent 578de1c commit b35b702

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)