fakefilter 1.1.12 → 1.1.13

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/update-repo.sh +8 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fakefilter",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "",
5
5
  "main": "fetch.js",
6
6
  "dependencies": {
package/update-repo.sh CHANGED
@@ -13,6 +13,7 @@ pkill -f chart-update.js
13
13
  pkill -f repo-update.js
14
14
  pkill -f chart-update.js
15
15
 
16
+ export NPM_TOKEN=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
16
17
 
17
18
  cd /opt/fakefilter && {
18
19
  node chart-update.js
@@ -21,9 +22,14 @@ cd /opt/fakefilter && {
21
22
  # git add assets/img/*.png
22
23
  report_test_ok "repo folder exists"
23
24
  if ./release.sh 'auto update'; then
24
- report_test_ok "npm published"
25
+ report_test_ok "published"
26
+ if npm publish; then
27
+ report_test_ok "npm published"
28
+ else
29
+ report_test_error "npm published"
30
+ fi
25
31
  else
26
- report_test_error "npm published"
32
+ report_test_error "published"
27
33
  fi
28
34
  else
29
35
  report_test_error "repo folder exists"