diff --git a/module.json b/module.json index 50ba4c1..f1e078e 100644 --- a/module.json +++ b/module.json @@ -19,11 +19,11 @@ "verified": "12.331", "maximum": "12" }, - "version": "1.11.1", + "version": "#{VERSION}#", "url": "https://github.com/mmechtley/sf2e-hud", "readme": "https://github.com/mmechtley/sf2e-hud/blob/master/README.md", "manifest": "https://raw.githubusercontent.com/mmechtley/sf2e-hud/master/module.json", - "download": "https://github.com/mmechtley/sf2e-hud/releases/download/1.11.1/module.zip", + "download": "https://github.com/mmechtley/sf2e-hud/releases/download/#{VERSION}#/module.zip", "changelog": "https://github.com/mmechtley/sf2e-hud/blob/master/CHANGELOG.md", "bugs": "https://github.com/mmechtley/sf2e-hud/issues", "styles": [ diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..e507549 --- /dev/null +++ b/release.sh @@ -0,0 +1,22 @@ +version_num = $1 +if [ -z "$version_num" ]; then + echo "Specify a version number" + read version_num + if [ -z "$version_num"]; then + exit + fi +fi +rm -rf releases +mkdir releases +mkdir releases/module +cp module.json releases +cp README.md releases/module/ +cp -r lang releases/module/ +cp -r scripts releases/module/ +cp -r styles releases/module/ +cp -r templates releases/module/ +sed -e "s/\#{VERSION}\#/$version_num/g" -I '' releases/module.json +cp releases/module.json releases/module/ +cd releases +zip -r module.zip module +cd .. diff --git a/src/hud/sidebar/skills.ts b/src/hud/sidebar/skills.ts index 6d4d355..5e2d53c 100644 --- a/src/hud/sidebar/skills.ts +++ b/src/hud/sidebar/skills.ts @@ -209,7 +209,6 @@ const SKILLS: RawSkill[] = [ cost: 2, trained: true, uuid: "Compendium.pf2e.actionspf2e.Item.cYdz2grcOcRt4jk6", - label: "SF2E.Actions.PlotCourse.Title" }, { actionId: "hack",