fix: hrp path

This commit is contained in:
lilong.129
2025-03-07 23:13:08 +08:00
parent 7a00f5ff44
commit 3b5b728139
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "hrp/cmd/cli/" # go build hrp/cmd/cli/main.go
project_path: "cmd/cli/" # go build cmd/cli/main.go
binary_name: "hrp"
ldflags: "-s -w"
extra_files: LICENSE README.md docs/CHANGELOG.md

View File

@@ -1 +1 @@
v5.0.0-beta-2503072308
v5.0.0-beta-2503072313

View File

@@ -15,7 +15,7 @@ mkdir -p "output"
bin_path="output/hrp"
# build
go build -ldflags '-s -w' -o "$bin_path" hrp/cmd/cli/main.go
go build -ldflags '-s -w' -o "$bin_path" cmd/cli/main.go
# check output and version
ls -lh "$bin_path"