@@ -24,25 +24,35 @@ jobs:
2424
2525 - name : Prepare release assets
2626 run : |
27- mkdir -p dist /windows dist /linux
27+ mkdir -p timekeep-release /windows timekeep-release /linux
2828
2929 # Copy install scripts
30- cp scripts/install.ps1 dist /
31- cp scripts/install.sh dist /
30+ cp scripts/install.ps1 timekeep-release /
31+ cp scripts/install.sh timekeep-release /
3232
33- # Windows binaries
34- cp timekeep-service.exe dist /windows/
35- cp timekeep.exe dist /windows/
33+ # Copy Windows binaries
34+ cp timekeep-service.exe timekeep-release /windows/
35+ cp timekeep.exe timekeep-release /windows/
3636
37- # Linux binaries
38- cp timekeepd dist/linux/
39- cp timekeep dist/linux/
37+ # Copy Linux binaries
38+ cp timekeepd timekeep-release/linux/
39+ cp timekeep timekeep-release/linux/
40+
41+ cat > timekeep-release/README.txt << 'EOF'
42+ TimeKeep Installation
43+ ======================
44+
45+ 1. Extract this ZIP file
46+ 2. Run the appropriate install script:
47+ - Windows: Right-click install.ps1 - "Run with PowerShell" as Administrator
48+ - Linux: chmod +x install.sh && sudo ./install.sh
49+
50+ The install script will handle everything automatically.
51+ EOF
52+
53+ zip -r timekeep-${{ github.ref_name }}.zip timekeep-release/
4054
4155 - name : Create Release
4256 uses : softprops/action-gh-release@v1
4357 with :
44- files : |
45- dist/install.ps1
46- dist/install.sh
47- dist/windows/*
48- dist/linux/*
58+ files : timekeep-${{ github.ref_name }}.zip
0 commit comments