Skip to content

Commit 952e4e9

Browse files
committed
v1.0.0 release
1 parent 5777cb1 commit 952e4e9

4 files changed

Lines changed: 19 additions & 70 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: actions/setup-go@v5
1818
with:
19-
go-version: '1.25'
19+
go-version: '1.26'
2020

2121
- name: Run tests
2222
run: go test ./...
@@ -49,6 +49,14 @@ jobs:
4949
go build -ldflags="$LDFLAGS" -o "$output" ./cmd/dssh/
5050
done
5151
52+
- name: Compress Linux binaries with UPX
53+
run: |
54+
sudo apt-get update && sudo apt-get install -y upx
55+
for f in dist/dssh-linux-*; do
56+
echo "Compressing $f..."
57+
upx --best "$f" || echo "UPX failed for $f, using uncompressed"
58+
done
59+
5260
- name: Create GitHub Release
5361
uses: softprops/action-gh-release@v2
5462
with:

.gitignore

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
1-
# Binaries
2-
dssh
3-
dssh-*
41
*.exe
52
dist/
63

7-
# Go
84
vendor/
95

10-
# IDE
116
.idea/
127
.vscode/
138
*.swp
149
*.swo
1510

16-
# OS
1711
.DS_Store
1812
Thumbs.db
1913

20-
# Project
21-
*.png
22-
*.tape
14+
push-release.sh

CLAUDE.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

cmd/dssh/main.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package main
2+
3+
import "github.com/madLinux7/dssh/internal/cli"
4+
5+
var version = "dev"
6+
7+
func main() {
8+
cli.Execute(version)
9+
}

0 commit comments

Comments
 (0)