Compare commits

..

2 Commits

Author SHA1 Message Date
Dmitry Kirdyashkin 66243205f8 Merge branch 'dev' of https://gitea.kdiva.ru/modules/sc-items into dev
continuous-integration/drone/push Build is passing Details
2023-07-23 01:13:28 +03:00
Dmitry Kirdyashkin b3730609df t 2023-07-23 01:13:24 +03:00
1 changed files with 8 additions and 0 deletions

8
lib
View File

@ -7,6 +7,14 @@ function create-archive(){
zip -r -9 ./release/module.zip ./src/* 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(){ function create-release(){
if [[ -z "${TAG}" ]]; then if [[ -z "${TAG}" ]]; then
echo "TAG key is not set" echo "TAG key is not set"