v1.0.0
continuous-integration/drone/push Build is failing Details

pull/4/head
Dmitry Kirdyashkin 2023-07-23 14:58:28 +03:00
parent d7206ddc1b
commit 8d02447620
2 changed files with 5 additions and 3 deletions

2
lib
View File

@ -8,6 +8,8 @@ function create-archive(){
}
function set-variables(){
RELEASE=$(echo $DRONE_COMMIT_MESSAGE | tr -d '\n')-$DRONE_BRANCH
echo "$RELEASE"
envsubst < module.json.template > ./module.json
cat ./module.json
}

View File

@ -8,7 +8,7 @@
"name": "leego neit"
}
],
"version": "${DRONE_COMMIT_MESSAGE}-${DRONE_BRANCH}",
"version": "$RELEASE",
"minimumCoreVersion": "9",
"compatibility": {
"minimum": "9",
@ -16,8 +16,8 @@
"maximum": "10"
},
"url": "${DRONE_REPO_LINK}",
"manifest": "${DRONE_REPO_LINK}/releases/download/${DRONE_COMMIT_MESSAGE}-${DRONE_BRANCH}/module.json",
"download": "${DRONE_REPO_LINK}/releases/download/${DRONE_COMMIT_MESSAGE}-${DRONE_BRANCH}/module.zip",
"manifest": "${DRONE_REPO_LINK}/releases/download/$RELEASE/module.json",
"download": "${DRONE_REPO_LINK}/releases/download/$RELEASE/module.zip",
"packs": [
{
"name": "sc-items",