From b3730609dfa84097e05564135507fa3548defda6 Mon Sep 17 00:00:00 2001 From: Dmitry Kirdyashkin Date: Sun, 23 Jul 2023 01:13:24 +0300 Subject: [PATCH] t --- lib | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib b/lib index 3279315..35c0eed 100644 --- a/lib +++ b/lib @@ -7,6 +7,14 @@ function create-archive(){ zip -r -9 ./release/module.zip ./src/* } +function set-variables(){ + envsubst < module.json.template > ./module.json + cat ./module.json + git add . + git commit -m 'update' + git push origin $DRONE_BRANCH +} + function create-release(){ if [[ -z "${TAG}" ]]; then echo "TAG key is not set"