summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-27 16:54:28 +0300
committerValery Piashchynski <[email protected]>2021-01-27 16:54:28 +0300
commit6e1abf0808ced4b4f7f3d5bab1e5d87c27a8e112 (patch)
tree31eb4fc2648376670dd3787f309ecb5177dcf184
parenta11baa9d9f2d51a1ca860daab44f05814636ec36 (diff)
Update binary file compillation for the release
-rw-r--r--.github/workflows/release.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f20893d3..a50d16c4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -58,7 +58,8 @@ jobs:
-X github.com/spiral/roadrunner/v2/cmd/cli.Version=${{ steps.values.outputs.version }}
-X github.com/spiral/roadrunner/v2/cmd/cli.BuildTime=${{ steps.values.outputs.timestamp }}
run: |
- go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" ./cmd/main.go
+ cd cmd && go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" main.go
+ mv "${{ steps.values.outputs.binary-name }}" ../
stat "./${{ steps.values.outputs.binary-name }}"
- name: Generate distributive directory name