Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit 9d1f430

Browse files
author
Kent C. Dodds
committed
fix(build): Fix issue with publish:latest with new script
1 parent 56e4e07 commit 9d1f430

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ before_script:
1515
- npm prune
1616
script:
1717
- npm run code-checks
18-
- npm run test
1918
- npm run test:ci
2019
- npm run check-coverage
2120
after_success:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"code-checks": "eslint src/",
3030
"commit": "git-cz",
3131
"prepublish:latest": "node scripts/authorize-push.js",
32-
"publish:latest": "scripts/publish-latest.sh",
32+
"publish:latest": "with-package scripts/publish-latest.sh pkg.version",
3333
"semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post && npm run publish:latest"
3434
},
3535
"betterScripts": {

scripts/publish-latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e # exit with non-zero exit code if there are failurs
33

4-
$F_VERSION=$1
4+
F_VERSION=$1
55
echo "fetching"
66
git fetch
77

0 commit comments

Comments
 (0)