Skip to content

Commit

Permalink
fix: Now you can even *update* the system.
Browse files Browse the repository at this point in the history
Still useless. But updateable.
  • Loading branch information
xdy committed Jun 29, 2020
1 parent 4cb68aa commit 2ef4fda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ module.exports = {
"@semantic-release/changelog",
["@semantic-release/exec", {
"prepareCmd": '' +
'sed -ie \'s|\\(.*"version"\\): "\\(.*\\)",.*|\\1: \'"\\"${nextRelease.version}\\",|" package.json ' +
'&& sed -ie \'s|\\(.*"version"\\): "\\(.*\\)",.*|\\1: \'"\\"${nextRelease.version}\\",|" static/system.json ' +
'&& sed -ie \'s|\\(.*"manifest"\\): "\\(.*\\)",.*|\\1: \'"\\"https://github.com/xdy/twodsix-foundryvtt/releases/download/v${nextRelease.version}/system.json\\",|" static/system.json ' +
'&& sed -ie \'s|\\(.*"download"\\): "\\(.*\\)",.*|\\1: \'"\\"https://github.com/xdy/twodsix-foundryvtt/releases/download/v${nextRelease.version}/twodsix.zip\\",|" static/system.json ' +
'sed -ie \'s|\\(.*"version"\\): "\\(.*\\)",.*|\\1: \'"\\"${nextRelease.version}\\",|" static/system.json ' +
'&& cp static/system.json dist ' +
'&& sed -ie \'s|\\(.*"version"\\): "\\(.*\\)",.*|\\1: \'"\\"${nextRelease.version}\\",|" package.json ' +
'&& npm install ' +
'',
}],
Expand Down
4 changes: 2 additions & 2 deletions static/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "twodsix",
"title": "twodsix",
"url": "https://github.com/xdy/twodsix-foundryvtt/",
"manifest": "https://github.com/xdy/twodsix-foundryvtt/releases/download/v0.1.0/system.json",
"download": "https://github.com/xdy/twodsix-foundryvtt/releases/download/v0.1.0/twodsix.zip",
"manifest": "https://github.com/xdy/twodsix-foundryvtt/releases/latest/download/system.json",
"download": "https://github.com/xdy/twodsix-foundryvtt/releases/latest/download/twodsix.zip",
"version": "0.1.0",
"author": "Jonas Karlsson",
"authors": [
Expand Down

0 comments on commit 2ef4fda

Please sign in to comment.