chore: add rel_env to create releases

This commit is contained in:
Jesús Pérez Lorenzo 2021-09-23 15:42:36 +01:00
parent 591bf2d8ce
commit 50d0e7d332

10
rel_env Normal file
View File

@ -0,0 +1,10 @@
export TARGET_REPO=LibreCloud/Upclapi
export SOURCE_PATH="."
export SOURCE_NAME="upclapi"
export SOURCE_TITLE="{...} UpClapi"
export BUILD_SOURCE="$SOURCE_PATH/build/$SOURCE_NAME"
export TAG=$(grep VERSION "$SOURCE_PATH/main.go" | grep "=" | cut -f2 -d"=" | sed 's/"//g' | sed 's/ //g')
export REV_TAG="master"
export DFLT_BUILD_ARGS="darwin amd64 MacOS"