updated qrz
This commit is contained in:
parent
90bf13586d
commit
b390fd2cda
@ -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 ${RELEASENAME}
|
||||||
fi
|
fi
|
||||||
|
rm ${PROJECTNAME}
|
||||||
}
|
}
|
||||||
|
|
||||||
clean() {
|
clean() {
|
||||||
|
Loading…
Reference in New Issue
Block a user