From 50d0e7d3325449f8d83276fc4a9d31c92a74f6ba Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Thu, 23 Sep 2021 15:42:36 +0100 Subject: [PATCH] chore: add rel_env to create releases --- rel_env | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rel_env diff --git a/rel_env b/rel_env new file mode 100644 index 0000000..1a0ef16 --- /dev/null +++ b/rel_env @@ -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"