updated .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2022-03-11 23:35:24 +01:00
parent 90136fe906
commit c41747e146

View File

@ -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