node-sword-interface 1.0.63 → 1.0.65

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.65",
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,14 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Do not use any prefix for the version tag
5
+ npm config set tag-version-prefix=""
6
+
7
+ # Increment the patch version (creates commit and tag)
8
+ npm version patch
9
+
10
+ # Push the changes and the tag
11
+ git push --follow-tags
12
+
13
+ # Run the publish script
14
+ npm run pub