test envsubst
continuous-integration/drone Build is passing Details

pull/2/head
dmitry.kirdyashkin 2023-07-11 22:17:21 +03:00
parent 495e5e2475
commit 8a2540f2db
3 changed files with 43 additions and 0 deletions

View File

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

View File

@ -0,0 +1,41 @@
{
"id": "sc-items",
"name": "shared-compendia-items",
"title": "Shared Compendia Items",
"description": "Item list",
"authors": [
{
"name": "leego neit"
}
],
"version": "${DRONE_BUILD_NUMBER}-${DRONE_REPO_BRANCH}",
"minimumCoreVersion": "9",
"compatibility": {
"minimum": "9",
"verified": "10",
"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",
"packs": [
{
"name": "sc-items",
"label": "sc items",
"path": "packs/sc-items.db",
"entity": "Item",
"type": "Item",
"module": "shared-compendia-items",
"system": "dnd5e"
},
{
"name": "sc-items-aota",
"label": "arcana of the ancients items",
"path": "packs/sc-items-aota.db",
"entity": "Item",
"type": "Item",
"module": "shared-compendia-items",
"system": "dnd5e"
}
]
}

0
vars 100644
View File