Skip to content

Commit 6c6c8d5

Browse files
committed
v0.5.6
1 parent e31250c commit 6c6c8d5

4 files changed

Lines changed: 28 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,34 @@ jobs:
2525
- name: Set Deployed Flag
2626
run: |
2727
bash ./.github/set-deployed-flag.sh ${{ env.RELEASE_VERSION }}
28-
# Remove entries from the `.gitignore` so the gh-pages action can correctly add+commit them to the pages branch
29-
- name: Build Service Worker
28+
# Builds the data
29+
- name: Build Site
3030
run: |
3131
node --version
3232
npm --version
3333
npm i
3434
npm run build:data:prod
3535
npm run build
36-
npm run build:deploy:prod
37-
npm run build:sw:prod
38-
sed -i 's/sw.js//g' .gitignore
39-
sed -i 's/sw-injector.js//g' .gitignore
36+
# Builds SEO pages
4037
- name: Build SEO Pages
4138
env:
4239
VET_BASE_SITE_URL: https://pf2etools.com/
4340
VET_SEO_IS_SKIP_UA_ETC: true
4441
run: |
4542
npm run build:seo -- ${{ env.RELEASE_VERSION }}
43+
# Merge and minify scripts, data, etc.
44+
- name: Build Prod
45+
env:
46+
VET_BASE_SITE_URL: https://pf2etools.com/
47+
VET_SEO_IS_SKIP_UA_ETC: true
48+
run: |
49+
npm run build:deploy:prod
50+
# Remove entries from the `.gitignore` so the gh-pages action can correctly add+commit them to the pages branch
51+
- name: Build Service Worker
52+
run: |
53+
npm run build:sw:prod
54+
sed -i 's/sw.js//g' .gitignore
55+
sed -i 's/sw-injector.js//g' .gitignore
4656
# See: https://github.com/JamesIves/github-pages-deploy-action
4757
- name: Deploy
4858
uses: JamesIves/github-pages-deploy-action@releases/v4

data/changelog.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@
119119
"ver": "0.5.5",
120120
"date": "2022-06-13",
121121
"txt": "- Fix typo in production script"
122+
},
123+
{
124+
"ver": "0.5.5",
125+
"date": "2022-06-13",
126+
"txt": "- Fix typo in production script"
127+
},
128+
{
129+
"ver": "0.5.6",
130+
"date": "2022-06-13",
131+
"txt": "- Fix production script"
122132
}
123133
]
124134
}

js/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if (typeof module !== "undefined") require("./parser.js");
55

66
// in deployment, `IS_DEPLOYED = "<version number>";` should be set below.
77
IS_DEPLOYED = undefined;
8-
VERSION_NUMBER = /* PF2ETOOLS_VERSION__OPEN */"0.5.5"/* PF2ETOOLS_VERSION__CLOSE */;
8+
VERSION_NUMBER = /* PF2ETOOLS_VERSION__OPEN */"0.5.6"/* PF2ETOOLS_VERSION__CLOSE */;
99
DEPLOYED_STATIC_ROOT = ""; // ""; // FIXME re-enable this when we have a CDN again
1010
IS_VTT = false;
1111

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pf2etools",
33
"author": "Pf2eTools",
4-
"version": "0.5.5",
4+
"version": "0.5.6",
55
"license": "MIT",
66
"description": "A site dedicated to making playing games with your friends as easy as possible.",
77
"scripts": {

0 commit comments

Comments
 (0)