fix:
continuous-integration/drone Build is failing Details

* DRONE_REPO_BRANCH to DRONE_BRANCH
* module.json destination
pull/2/head
dmitry.kirdyashkin 2023-07-11 22:22:43 +03:00
parent a787ba1ecf
commit 1759be3867
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ steps:
PASSWORD:
from_secret: drone_repo_password
commands:
- envsubst < module.json.template > module.json
- envsubst < module.json.template > ./src/module.json
- cat module.json
- zip -r -9 module.zip ./src/*
- ls -la

View File

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