Skip to content

Commit

Permalink
fix scripts preghpages
Browse files Browse the repository at this point in the history
  • Loading branch information
alecarn committed Sep 19, 2023
1 parent 1b06084 commit 7567825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@
"version.linux": "gulp bumpVersion && rimraf ./dist && npm run build.all && npm run changelog && git add -u",
"postversion": "git push && git push --tags && npm run publish && npm run ghpages.win",
"postversion.linux": "git push && git push --tags && npm run publish && npm run ghpages",
"preghpages": "gulp bundleLocale && npm run build.ghpages && echo \"include: ['_default.json', '_contexts.json', '_base.json']\" > dist/ghpages/_config.yml",
"preghpages": "npm run build.ghpages && echo \"include: ['_default.json', '_contexts.json', '_base.json']\" > dist/ghpages/_config.yml",
"ghpages": "VERSION=$(node -p -e \"require('./package.json').version\") && npx ngh --dir=dist/ghpages --no-silent=false --message=$VERSION",
"postghpages": "rimraf ./dist/ghpages",
"preghpages.win": "gulp bundleLocale && npm run build.ghpages && echo include: ['_default.json', '_contexts.json', '_base.json'] > dist/ghpages/_config.yml",
"preghpages.win": "npm run build.ghpages && echo include: ['_default.json', '_contexts.json', '_base.json'] > dist/ghpages/_config.yml",
"ghpages.win": "npx ngh --dir=dist/ghpages --no-silent=false --message=%npm_package_version%",
"postghpages.win": "rimraf ./dist/ghpages"
},
Expand Down

0 comments on commit 7567825

Please sign in to comment.