Skip to content

Commit

Permalink
add release shell script to repo. remove erroneous label on computers…
Browse files Browse the repository at this point in the history
… disable device
  • Loading branch information
mmechtley committed Sep 4, 2024
1 parent c28be27 commit 5297f8c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
22 changes: 22 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -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 ..
1 change: 0 additions & 1 deletion src/hud/sidebar/skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ const SKILLS: RawSkill[] = [
cost: 2,
trained: true,
uuid: "Compendium.pf2e.actionspf2e.Item.cYdz2grcOcRt4jk6",
label: "SF2E.Actions.PlotCourse.Title"
},
{
actionId: "hack",
Expand Down

0 comments on commit 5297f8c

Please sign in to comment.