Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
test if fix works
  • Loading branch information
Jeremy Trujillo committed Jun 14, 2018
1 parent e12335c commit 38598c5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"publish": [
{
"path": "@semantic-release/npm",
"npmPublish": false,
"tarballDir": "dist"
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/HealthCatalyst/Fabric.Cashmere.git"
"url": "https://github.com/jtrujill/Fabric.Cashmere"
},
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion projects/cashmere/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"repository": {
"type": "Git",
"url": "https://github.com/HealthCatalyst/Fabric.Cashmere"
"url": "https://github.com/jtrujill/Fabric.Cashmere"
},
"main": "./bundles/cashmere.umd.js",
"module": "./esm5/cashmere.js",
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm run build
npm run test:unit

# Publish code coverage to Coveralls
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
# cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

# Publishing to NPM
npx semantic-release
Expand Down
6 changes: 4 additions & 2 deletions scripts/replace-package-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ fi
# Grab package version set by semantic release
PACKAGE_VERSION=$1

ls

# Replace package.json version with generated version
sed -i "" -E "s/(\"version\":[[:space:]]*\").+(\")/\1${PACKAGE_VERSION}\2/g" package.json
sed -i -E "s/(\"version\":[[:space:]]*\").+(\")/\1${PACKAGE_VERSION}\2/g" package.json

# Update package-lock.json version also
sed -i "" -E "s/(\"version\":[[:space:]]*\").+(\")/\1${PACKAGE_VERSION}\2/g" package-lock.json
sed -i -E "s/(\"version\":[[:space:]]*\").+(\")/\1${PACKAGE_VERSION}\2/g" package-lock.json

0 comments on commit 38598c5

Please sign in to comment.