added go generate
This commit is contained in:
parent
561b5be477
commit
14f8cbebb0
@ -14,6 +14,7 @@ steps:
|
||||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go generate $SRCFILES
|
||||
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
||||
when:
|
||||
event:
|
||||
@ -36,6 +37,7 @@ steps:
|
||||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go generate $SRCFILES
|
||||
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
||||
- tar -czvf $PROJECTNAME-$GOOS-$GOARCH-$DRONE_TAG.tar.gz $PROJECTNAME
|
||||
- echo $PROJECTNAME $DRONE_TAG > VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user