Skip to content

Commit

Permalink
fix: testing, is this working
Browse files Browse the repository at this point in the history
  • Loading branch information
jonepatr committed Jan 30, 2021
1 parent 6eb609d commit 9961e69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DEVELOPMENT_REPLACE="\1 \"https://github.com/xdy/twodsix-foundryvtt/releases/dow
MASTER_REPLACE="\1 \"https://github.com/xdy/twodsix-foundryvtt/releases/latest/system.json\","

sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" static/system.json &&
if echo "$1" | grep -q "development"; then sed -i -e -E s"~$SEARCH_PATTERN~$DEVELOPMENT_REPLACE~" static/system.json; else sed -i -e -E s"~$SEARCH_PATTERN~$MASTER_REPLACE~" static/system.json; fi &&
if echo "$1" | grep -q "development"; then sed -i -r s"~$SEARCH_PATTERN~$DEVELOPMENT_REPLACE~" static/system.json; else sed -i -r s"~$SEARCH_PATTERN~$MASTER_REPLACE~" static/system.json; fi &&
cp static/system.json dist &&
sed -i -e 's|\(.*"version"\): "\(.*\)",.*|\1: '"\"$1\",|" package.json &&
npm install &&
Expand Down
2 changes: 2 additions & 0 deletions src/twodsix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@ Hooks.once('init', async function () {
// All other hooks are found in the module/hooks directory, and should be in the system.json esModules section.

});


9 changes: 3 additions & 6 deletions static/system.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"manifest": "https://github.com/xdy/twodsix-foundryvtt/releases/download/v$1/system.json",
"name": "twodsix",
"title": "Twodsix - Cepheus & Traveller (Unofficial)",
"url": "https://github.com/xdy/twodsix-foundryvtt/",
"manifest": "https://github.com/xdy/twodsix-foundryvtt/releases/download/v$1/system.json",
"manifest": "https://github.com/xdy/twodsix-foundryvtt/releases/dowlnload/v1.0.0-development.1/system.json",
"readme": "https://raw.githubusercontent.com/xdy/twodsix-foundryvtt/master/README.md",
"download": "https://github.com/xdy/twodsix-foundryvtt/releases/download/v$1/system.json",
"download": "https://github.com/xdy/twodsix-foundryvtt/releases/dowlnload/v1.0.0-development.1/system.json",
"version": "1.0.0-development.1",
"author": "Jonas Karlsson (xdy#3735), Kevin Maree (Ultra Kev#9816)",
"bugs": "Plenty of them, this is an early alpha...",
Expand Down Expand Up @@ -109,7 +108,6 @@
"primaryTokenAttribute": "hits",
"styles": ["./styles/twodsix.css"],
"templateVersion": 2,
"manifest": "https://github.com/xdy/twodsix-foundryvtt/releases/download/v$1/system.json",
"authors": [
{
"name": "Jonas Karlsson",
Expand Down Expand Up @@ -140,8 +138,7 @@
"dependencies": [
{
"type": "module",
"name": "compendium-folders",
"manifest": "https://github.com/xdy/twodsix-foundryvtt/releases/download/v$1/system.json",
"name": "compendium-folders"
}
]
}

0 comments on commit 9961e69

Please sign in to comment.