Skip to content

Commit b3c2eb8

Browse files
committed
updated cd release
1 parent 14c5056 commit b3c2eb8

2 files changed

Lines changed: 25 additions & 15 deletions

File tree

.github/workflows/CD.yml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ A cross-platform process activity tracker written in Go. It runs as a background
3939
- **Linux**: sudo privileges for systemd service setup
4040

4141
### Method 1: Install script
42-
1. Download latest release from [Releases](https://github.com/jms-guy/timekeep/releases)
42+
1. Download latest release ZIP from [Releases](https://github.com/jms-guy/timekeep/releases)
4343
2. Extract ZIP file
4444
3. Run the appropriate install script:
4545
- **Windows**: 'install.ps1' - Right click, run with PowerShell as Administrator

0 commit comments

Comments
 (0)