node-sword-interface 1.0.63 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-sword-interface",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "Javascript (N-API) interface to SWORD library",
5
5
  "keywords": [
6
6
  "C++",
@@ -18,7 +18,8 @@
18
18
  "pub": "rm -rf build node_modules sword sword_build test && npm publish ./",
19
19
  "deploy": "scripts/deploy_local.sh",
20
20
  "postinstall": "node scripts/postinstall.js",
21
- "test": "jest"
21
+ "test": "jest",
22
+ "release": "./scripts/release.sh"
22
23
  },
23
24
  "author": "Tobias Klein",
24
25
  "license": "GPL-2.0+",
@@ -1,3 +1,3 @@
1
1
  #!/bin/sh
2
- rm -rf sword sword_build build/Release/.deps build/Release/obj.target
2
+ rm -rf sword sword_build
3
3
  touch "$1"
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Increment the patch version (creates commit and tag)
5
+ npm version patch
6
+
7
+ # Push the changes and the tag
8
+ git push --follow-tags
9
+
10
+ # Run the publish script
11
+ npm run pub