updated .drone.yml
This commit is contained in:
parent
90136fe906
commit
c41747e146
@ -15,7 +15,7 @@ steps:
|
|||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install libczmq-dev
|
- apt-get install libczmq-dev -y
|
||||||
- go generate $SRCFILES
|
- go generate $SRCFILES
|
||||||
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
||||||
when:
|
when:
|
||||||
@ -40,7 +40,7 @@ steps:
|
|||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install libczmq-dev
|
- apt-get install libczmq-dev -y
|
||||||
- go generate $SRCFILES
|
- go generate $SRCFILES
|
||||||
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
- go build -o $PROJECTNAME $GOOPTIONS $SRCFILES
|
||||||
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME
|
- tar -czvf $PROJECTNAME-$DRONE_TAG-$GOOS-$GOARCH.tar.gz $PROJECTNAME
|
||||||
|
Loading…
Reference in New Issue
Block a user