mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
fix: hrp path
This commit is contained in:
2
.github/workflows/hrp-release.yml
vendored
2
.github/workflows/hrp-release.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
|||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
goos: ${{ matrix.goos }}
|
goos: ${{ matrix.goos }}
|
||||||
goarch: ${{ matrix.goarch }}
|
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"
|
binary_name: "hrp"
|
||||||
ldflags: "-s -w"
|
ldflags: "-s -w"
|
||||||
extra_files: LICENSE README.md docs/CHANGELOG.md
|
extra_files: LICENSE README.md docs/CHANGELOG.md
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
v5.0.0-beta-2503072308
|
v5.0.0-beta-2503072313
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ mkdir -p "output"
|
|||||||
bin_path="output/hrp"
|
bin_path="output/hrp"
|
||||||
|
|
||||||
# build
|
# 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
|
# check output and version
|
||||||
ls -lh "$bin_path"
|
ls -lh "$bin_path"
|
||||||
|
|||||||
Reference in New Issue
Block a user