Skip to content

Commit

Permalink
v0.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Jun 13, 2022
1 parent e31250c commit 6c6c8d5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,34 @@ jobs:
- name: Set Deployed Flag
run: |
bash ./.github/set-deployed-flag.sh ${{ env.RELEASE_VERSION }}
# Remove entries from the `.gitignore` so the gh-pages action can correctly add+commit them to the pages branch
- name: Build Service Worker
# Builds the data
- name: Build Site
run: |
node --version
npm --version
npm i
npm run build:data:prod
npm run build
npm run build:deploy:prod
npm run build:sw:prod
sed -i 's/sw.js//g' .gitignore
sed -i 's/sw-injector.js//g' .gitignore
# Builds SEO pages
- name: Build SEO Pages
env:
VET_BASE_SITE_URL: https://pf2etools.com/
VET_SEO_IS_SKIP_UA_ETC: true
run: |
npm run build:seo -- ${{ env.RELEASE_VERSION }}
# Merge and minify scripts, data, etc.
- name: Build Prod
env:
VET_BASE_SITE_URL: https://pf2etools.com/
VET_SEO_IS_SKIP_UA_ETC: true
run: |
npm run build:deploy:prod
# Remove entries from the `.gitignore` so the gh-pages action can correctly add+commit them to the pages branch
- name: Build Service Worker
run: |
npm run build:sw:prod
sed -i 's/sw.js//g' .gitignore
sed -i 's/sw-injector.js//g' .gitignore
# See: https://github.com/JamesIves/github-pages-deploy-action
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
Expand Down
10 changes: 10 additions & 0 deletions data/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,16 @@
"ver": "0.5.5",
"date": "2022-06-13",
"txt": "- Fix typo in production script"
},
{
"ver": "0.5.5",
"date": "2022-06-13",
"txt": "- Fix typo in production script"
},
{
"ver": "0.5.6",
"date": "2022-06-13",
"txt": "- Fix production script"
}
]
}
2 changes: 1 addition & 1 deletion js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (typeof module !== "undefined") require("./parser.js");

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pf2etools",
"author": "Pf2eTools",
"version": "0.5.5",
"version": "0.5.6",
"license": "MIT",
"description": "A site dedicated to making playing games with your friends as easy as possible.",
"scripts": {
Expand Down

0 comments on commit 6c6c8d5

Please sign in to comment.