pull/4/head
parent
1110c61a66
commit
b3730609df
8
lib
8
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"
|
||||
|
|
Loading…
Reference in New Issue