File tree Expand file tree Collapse file tree 3 files changed +25
-7
lines changed
Expand file tree Collapse file tree 3 files changed +25
-7
lines changed Original file line number Diff line number Diff line change 44 - 1.11.x
55
66script :
7- - make test build
7+ - make all
88
99deploy :
1010 provider : releases
1111 api_key : $GITHUB_TOKEN
1212 file_glob : true
13- file : gitlab-trigger-watcher
13+ file : gtw-*
1414 skip_cleanup : true
1515 on :
1616 tags : true
Original file line number Diff line number Diff line change 11
2- .PHONY : all test build
2+ .PHONY : all test build build-linux-amd64 build-osx-amd64 build-windows-amd64 build-win-386
33
4- all : test build
4+ all : test build build-linux-amd64 build-osx-amd64 build-windows-amd64 build-win-386
55
66test :
77 @go test -v -race ./...
88
99build :
10- @go build
10+ @go build -o gtw
11+
12+ build-linux-amd64 :
13+ @GOOS=linux GOARCH=amd64 go build -o gtw-linux-amd64
14+
15+ build-linux-386 :
16+ @GOOS=linux GOARCH=386 go build -o gtw-linux-386
17+
18+ build-osx-amd64 :
19+ @GOOS=darwin GOARCH=amd64 go build -o gtw-osx-amd64
20+
21+ build-osx-386 :
22+ @GOOS=darwin GOARCH=386 go build -o gtw-osx-386
23+
24+ build-windows-amd64 :
25+ @GOOS=darwin GOARCH=amd64 go build -o gtw-win-amd64.exe
26+
27+ build-win-386 :
28+ @GOOS=darwin GOARCH=386 go build -o gtw-win-386.exe
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Application to check Gitlab trigger's pipeline status
66### Build and run
77``` bash
88make build
9- ./gitlab-trigger-watcher -h
9+ ./gtw -h
1010```
1111
1212options:
@@ -23,5 +23,5 @@ options:
2323### Run:
2424
2525``` bash
26- ./gitlab-trigger-watcher --privateToken ${PRIVATE_TOKEN} --token ${TOKEN} --host gitlab.egt.com --projectID 123 run
26+ ./gtw --privateToken ${PRIVATE_TOKEN} --token ${TOKEN} --host gitlab.egt.com --projectID 123 run
2727```
You can’t perform that action at this time.
0 commit comments