commit fb2b9f24738d5f69e37bc345de1fd1997a4d7ae2
parent ab7f20681f789570bd540077c4f770e4e0dc7264
Author: finwo <finwo@pm.me>
Date: Tue, 27 Nov 2018 15:50:50 +0100
Run prepublish without direct bash invocation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -24,6 +24,6 @@ publish to npmjs.com:
only:
- master
script:
- - bash scripts/prepublish.sh
+ - scripts/prepublish.sh
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- if [ $(npm view $(node -p "require('./package.json').name") version) != $(node -p "require('./package.json').version") ]; then npm publish ; fi