mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 15:29:53 +00:00
added revision number to drone
binary, per issue #230
This commit is contained in:
2
Makefile
2
Makefile
@@ -56,7 +56,7 @@ js:
|
||||
cd cmd/droned/assets && find js -name "*.js" ! -name '.*' ! -name "main.js" -exec cat {} \; > js/main.js
|
||||
|
||||
build:
|
||||
cd cmd/drone && go build -o ../../bin/drone
|
||||
cd cmd/drone && go build -ldflags "-X main.version $(SHA)" -o ../../bin/drone
|
||||
cd cmd/droned && go build -ldflags "-X main.version $(SHA)" -o ../../bin/droned
|
||||
|
||||
test: $(PKGS)
|
||||
|
Reference in New Issue
Block a user