v1.0.0
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
d7206ddc1b
commit
8d02447620
2
lib
2
lib
|
@ -8,6 +8,8 @@ function create-archive(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function set-variables(){
|
function set-variables(){
|
||||||
|
RELEASE=$(echo $DRONE_COMMIT_MESSAGE | tr -d '\n')-$DRONE_BRANCH
|
||||||
|
echo "$RELEASE"
|
||||||
envsubst < module.json.template > ./module.json
|
envsubst < module.json.template > ./module.json
|
||||||
cat ./module.json
|
cat ./module.json
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"name": "leego neit"
|
"name": "leego neit"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "${DRONE_COMMIT_MESSAGE}-${DRONE_BRANCH}",
|
"version": "$RELEASE",
|
||||||
"minimumCoreVersion": "9",
|
"minimumCoreVersion": "9",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "9",
|
"minimum": "9",
|
||||||
|
@ -16,8 +16,8 @@
|
||||||
"maximum": "10"
|
"maximum": "10"
|
||||||
},
|
},
|
||||||
"url": "${DRONE_REPO_LINK}",
|
"url": "${DRONE_REPO_LINK}",
|
||||||
"manifest": "${DRONE_REPO_LINK}/releases/download/${DRONE_COMMIT_MESSAGE}-${DRONE_BRANCH}/module.json",
|
"manifest": "${DRONE_REPO_LINK}/releases/download/$RELEASE/module.json",
|
||||||
"download": "${DRONE_REPO_LINK}/releases/download/${DRONE_COMMIT_MESSAGE}-${DRONE_BRANCH}/module.zip",
|
"download": "${DRONE_REPO_LINK}/releases/download/$RELEASE/module.zip",
|
||||||
"packs": [
|
"packs": [
|
||||||
{
|
{
|
||||||
"name": "sc-items",
|
"name": "sc-items",
|
||||||
|
|
Loading…
Reference in New Issue