@salesforcedevs/sfdocs-e2e 1.0.0-link-alpha → 1.0.1

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 +5 -2
  2. package/package.json +1 -1
package/bin/publish.sh CHANGED
@@ -3,7 +3,6 @@ set -euo pipefail
3
3
 
4
4
  VERSION="${1:?Usage: publish.sh <version> [--tag <tag>]}"
5
5
  shift
6
- TAG_ARGS=("$@")
7
6
 
8
7
  cp package.json .package.json.bak
9
8
 
@@ -25,4 +24,8 @@ node -e "
25
24
  require('fs').writeFileSync('package.json', JSON.stringify(p, null, 2) + '\n');
26
25
  "
27
26
 
28
- yarn publish --new-version "$VERSION" "${TAG_ARGS[@]}"
27
+ if [ "$#" -gt 0 ]; then
28
+ yarn publish --new-version "$VERSION" "$@"
29
+ else
30
+ yarn publish --new-version "$VERSION"
31
+ fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/sfdocs-e2e",
3
- "version": "1.0.0-link-alpha",
3
+ "version": "1.0.1",
4
4
  "description": "E2E test suite for SFDocs static portal pages (SSG)",
5
5
  "license": "ISC",
6
6
  "bin": {