Skip to content

Commit

Permalink
Fix build docs command
Browse files Browse the repository at this point in the history
  • Loading branch information
UX3D-haertl committed Sep 2, 2024
1 parent 5a15421 commit 8bb5722
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Publish_to_NPM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Bump version in git
if: ${{ github.event.action }} == 'released'
run: |
git add package.json
git add package-lock.json
git add API.md
git commit -m "Bump version to ${{ github.event.release.tag_name }}"
git tag -f ${{ github.event.release.tag_name }}
git push
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build": "rollup -c",
"watch": "rollup -cw",
"prepublishOnly": "npm run build && npm run build_docs",
"build_docs": "jsdoc2md source/gltf-sample-render.js source/GltfView/gltf_view.js source/GltfState/gltf_state.js source/ResourceLoader/resource_loader.js source/gltf/user_camera.js > API.md",
"build_docs": "jsdoc2md source/gltf-sample-renderer.js source/GltfView/gltf_view.js source/GltfState/gltf_state.js source/ResourceLoader/resource_loader.js source/gltf/user_camera.js > API.md",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint source/**/*.js",
"lint:fix": "eslint --fix source/**/*.js"
Expand Down

0 comments on commit 8bb5722

Please sign in to comment.