Skip to content

Commit

Permalink
Update to version 0.6.32
Browse files Browse the repository at this point in the history
  • Loading branch information
Socolin committed Mar 18, 2024
1 parent ba7a890 commit f05b652
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions do_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ function incrementVersion(version, type) {
return splitVersion.join('.');
}

let systemJson = fs.readFileSync('system.json').toString("utf-8");
let systemJson = fs.readFileSync('src/system.json').toString("utf-8");
let system = JSON.parse(systemJson);
let type = process.argv.slice(2)[0] || 'patch';
let newVersion = incrementVersion(system.version, type);
system.download = system.download.replace(system.version, newVersion);
system.version = newVersion;
fs.writeFileSync('system.json', JSON.stringify(system, null, ' '));
fs.writeFileSync('src/system.json', JSON.stringify(system, null, ' '));
const gitCommit = spawn('git', ['commit', '-am', 'Update to version ' + newVersion]);
gitCommit.on('close', (data) => {
spawn('git', ['tag', 'v' + newVersion]).on('close', () => {
Expand Down
10 changes: 5 additions & 5 deletions src/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"id": "lvl0mf-sheet",
"title": "LVL0: Medfan Sheet",
"description": "A Character Sheet for LVL0: Medieval-Fantasy (French & English)",
"version": "0.6.31",
"version": "0.6.32",
"author": "Gnome Archiviste",
"compatibility": {
"minimum": 11,
"verified": "11.315"
"minimum": 11,
"verified": "11.315"
},
"esmodules": [
"vendor.js",
Expand Down Expand Up @@ -36,7 +36,7 @@
"secondaryTokenAttribute": "mana",
"url": "https://github.com/Gnome-Archiviste/lvl0-medfan-foundry",
"manifest": "https://raw.githubusercontent.com/Gnome-Archiviste/lvl0-medfan-foundry/main/system.json",
"download": "https://github.com/Gnome-Archiviste/lvl0-medfan-foundry/releases/download/v0.6.31/module.zip",
"download": "https://github.com/Gnome-Archiviste/lvl0-medfan-foundry/releases/download/v0.6.32/module.zip",
"allowBugReporter": true,
"bugs": "https://github.com/Gnome-Archiviste/lvl0-medfan-foundry/issues"
}
}

0 comments on commit f05b652

Please sign in to comment.