chore(release): 1.0.0

This commit is contained in:
Johannes Loher 2022-05-16 02:26:06 +02:00
parent f9c8cfb77a
commit 7c223b43f5
2 changed files with 7 additions and 7 deletions

View file

@ -11,11 +11,11 @@
}
],
"url": "https://git.f3l.de/dungeonslayers/tickwerk",
"license": "",
"readme": "",
"license": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.0.0/LICENSE.md",
"readme": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.0.0/README.md",
"bugs": "https://git.f3l.de/dungeonslayers/tickwerk/-/issues",
"changelog": "",
"version": "",
"changelog": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.0.0",
"version": "1.0.0",
"minimumCoreVersion": "9",
"compatibleCoreVersion": "9",
"esmodules": ["tickwerk.js"],
@ -33,6 +33,6 @@
}
],
"manifest": "https://git.f3l.de/api/v4/projects/dungeonslayers%2Ftick-based-combat/packages/generic/tickwerk/latest/module.json",
"download": "",
"download": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.0.0/downloads/module.zip",
"manifestPlusVersion": "1.2.0"
}

View file

@ -66,13 +66,13 @@ function bumpVersion(release) {
console.log(`Bumping version number to '${targetVersion}'`);
packageJson.version = targetVersion;
fs.writeJSONSync('package.json', packageJson, { spaces: 4 });
fs.writeJSONSync('package.json', packageJson, { spaces: 2 });
manifest.license = getLicenseURL(targetVersion);
manifest.readme = getReadmeURL(targetVersion);
manifest.changelog = getChangelogURL(targetVersion);
manifest.version = targetVersion;
manifest.download = getDownloadURL(targetVersion);
fs.writeJSONSync(manifestPath, manifest, { spaces: 4 });
fs.writeJSONSync(manifestPath, manifest, { spaces: 2 });
}
const argv = yargs(hideBin(process.argv)).usage('Usage: $0').option('release', {