File tree Expand file tree Collapse file tree 4 files changed +21
-1
lines changed
Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 11/.git /
2+ /build /
23/deployment /
34/documentation /
Original file line number Diff line number Diff line change 3333 run : |
3434 git tag v${{ steps.get_next_version.outputs.version }}
3535 git push origin v${{ steps.get_next_version.outputs.version }}
36+ - name : Release new version
37+ if : ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
38+ uses : ncipollo/release-action@v1
39+ with :
40+ artifacts : " build/*"
41+ tag : v${{ steps.get_next_version.outputs.version }}
Original file line number Diff line number Diff line change 1- # Intentionally left empty.
1+ / build /
Original file line number Diff line number Diff line change @@ -6,10 +6,23 @@ analyze:
66test :
77 @go test -cover ./...
88
9+ clean :
10+ @rm -rf build/
11+
12+ build : clean
13+ @GOOS=darwin GOARCH=amd64 go build -o ./build/techlounge-darwin-amd64 main.go
14+ @GOOS=darwin GOARCH=arm64 go build -o ./build/techlounge-darwin-arm64 main.go
15+ @GOOS=linux GOARCH=amd64 go build -o ./build/techlounge-linux-amd64 main.go
16+ @GOOS=linux GOARCH=arm64 go build -o ./build/techlounge-linux-arm64 main.go
17+ @GOOS=windows GOARCH=amd64 go build -o ./build/techlounge-windows-amd64.exe main.go
18+ @GOOS=windows GOARCH=arm64 go build -o ./build/techlounge-windows-arm64.exe main.go
19+
920build-docker :
1021 @docker build -t thenativeweb/techlounge .
1122
1223.PHONY : analyze \
24+ build \
1325 build-docker \
26+ clean \
1427 qa \
1528 test
You can’t perform that action at this time.
0 commit comments