Compare commits

..

No commits in common. "main" and "1.0.0" have entirely different histories.
main ... 1.0.0

2 changed files with 7 additions and 12 deletions

View file

@ -10,17 +10,17 @@
"esmodules": [ "esmodules": [
"modules/settings.js" "modules/settings.js"
], ],
"version": "1.1.0", "version": "1.0.0",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "11" "verified": "10"
}, },
"relationships": { "relationships": {
"systems": [{ "systems": [{
"id": "dungeonworld", "id": "dungeonworld",
"type": "system", "type": "system",
"compatibility": { "compatibility": {
"verified": "1.7.1" "verified": "1.7.0"
} }
}] }]
}, },
@ -63,7 +63,7 @@
"path": "languages/en.json" "path": "languages/en.json"
} }
], ],
"url": "https://git.mineau.eu/histausse/the_beguiler_module", "url": "https://git.pains-perdus.fr/histausse/the_beguiler_module",
"manifest": "https://git.mineau.eu/histausse/the_beguiler_module/raw/branch/main/module.json", "manifest": "https://git.pains-perdus.fr/histausse/the_beguiler_module/raw/branch/main/module.json",
"download": "https://git.mineau.eu/api/packages/histausse/generic/the_beguiler_module/1.1.0/the_beguiler_module.zip" "download": ""
} }

View file

@ -2,7 +2,6 @@
VERSION=`cat module.json | jq -r '.version'` VERSION=`cat module.json | jq -r '.version'`
TMP_DIR=`mktemp -d` TMP_DIR=`mktemp -d`
GITEA_TOKEN=`secret-tool lookup Title 'Gitea Token'`
FOLDER="${TMP_DIR}/the_beguiler_module_${VERSION}" FOLDER="${TMP_DIR}/the_beguiler_module_${VERSION}"
sh ./json_to_nedb.sh sh ./json_to_nedb.sh
@ -11,9 +10,5 @@ cp -r languages README.md module.json modules "${FOLDER}/"
mkdir "${FOLDER}/packs" mkdir "${FOLDER}/packs"
cp packs/*.db "${FOLDER}/packs" cp packs/*.db "${FOLDER}/packs"
zip -r "${TMP_DIR}/the_beguiler_module.zip" "${FOLDER}" zip -r "the_beguiler_module_${VERSION}.zip" "${FOLDER}"
curl --user "histausse:${GITEA_TOKEN}" \
--upload-file "${TMP_DIR}/the_beguiler_module.zip" \
"https://git.mineau.eu/api/packages/histausse/generic/the_beguiler_module/${VERSION}/the_beguiler_module.zip"
rm -rf "${TMP_DIR}" rm -rf "${TMP_DIR}"