- npm: Add add-release script (Newer versions of Git might be able to use set-branch, but the Git version with Mac does not so using another approach)
- Docs: Fix `ReleaseInstructions.md`
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"node": ">=8.5.0"
|
||||
},
|
||||
"scripts": {
|
||||
"add-release": "git submodule add -b \"release-v$VERSION\" https://github.com/SVG-Edit/svgedit.git \"releases/svg-edit-$VERSION\" && git submodule set-branch -b \"release-v$VERSION\" releases/latest",
|
||||
"add-release": "git submodule add -b \"release-v$VERSION\" https://github.com/SVG-Edit/svgedit.git \"releases/svg-edit-$VERSION\" && git config --file=.gitmodules submodule.releases/latest.branch \"release-v$VERSION\"",
|
||||
"start-allow-origin": "static -p 8001 -H '{\"Access-Control-Allow-Origin\": \"*\"}'",
|
||||
"start-embedded": "run-p start start-allow-origin",
|
||||
"start": "echo \"Open file, e.g., to http://localhost:8000/editor/svg-editor-es.html\" && static -p 8000",
|
||||
|
||||
Reference in New Issue
Block a user