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", "url": "https://git.f3l.de/dungeonslayers/tickwerk",
"license": "", "license": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.0.0/LICENSE.md",
"readme": "", "readme": "https://git.f3l.de/dungeonslayers/tickwerk/-/raw/1.0.0/README.md",
"bugs": "https://git.f3l.de/dungeonslayers/tickwerk/-/issues", "bugs": "https://git.f3l.de/dungeonslayers/tickwerk/-/issues",
"changelog": "", "changelog": "https://git.f3l.de/dungeonslayers/tickwerk/-/releases/1.0.0",
"version": "", "version": "1.0.0",
"minimumCoreVersion": "9", "minimumCoreVersion": "9",
"compatibleCoreVersion": "9", "compatibleCoreVersion": "9",
"esmodules": ["tickwerk.js"], "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", "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" "manifestPlusVersion": "1.2.0"
} }

View file

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