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

This commit is contained in:
Paul 2020-04-26 10:33:12 +02:00
parent de6228f985
commit 8ec034ff9f

View File

@ -20,11 +20,12 @@ build() {
then then
RELEASENAME=${PROJECTNAME}-${VERSION}-${GOOS}-${GOARCH} RELEASENAME=${PROJECTNAME}-${VERSION}-${GOOS}-${GOARCH}
fi fi
go build -o ${RELEASENAME} ${GOOPTIONS} ${SRCFILES} go build -o ${PROJECTNAME} ${GOOPTIONS} ${SRCFILES}
if [[ ! -z $DRONE_TAG ]] if [[ ! -z $DRONE_TAG ]]
then then
tar -czvf ${RELEASENAME}.tar.gz ${RELEASENAME} tar -czvf ${RELEASENAME}.tar.gz ${PROJECTNAME}
fi fi
rm ${PROJECTNAME}
} }
clean() { clean() {