@salesforcedevs/sfdocs-e2e 1.0.9-alpha-check-1 → 1.0.9-alpha-check-3

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/bin/publish.sh +10 -1
  2. package/package.json +1 -1
package/bin/publish.sh CHANGED
@@ -7,7 +7,16 @@ TAG_ARGS=("$@")
7
7
 
8
8
  cp package.json .package.json.bak
9
9
 
10
- cleanup() { mv .package.json.bak package.json; }
10
+ cleanup() {
11
+ mv .package.json.bak package.json
12
+ node -e "
13
+ var p = require('./package.json');
14
+ p.version = '$VERSION';
15
+ require('fs').writeFileSync('package.json', JSON.stringify(p, null, 2) + '\n');
16
+ "
17
+ git add package.json
18
+ git commit --amend --no-edit
19
+ }
11
20
  trap cleanup EXIT
12
21
 
13
22
  node -e "
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/sfdocs-e2e",
3
- "version": "1.0.9-alpha-check-1",
3
+ "version": "1.0.9-alpha-check-3",
4
4
  "description": "E2E test suite for SFDocs static portal pages (SSG)",
5
5
  "license": "ISC",
6
6
  "bin": {