diff --git a/.releaserc.json b/.releaserc.json index 87145d358..695bd2aa0 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -16,6 +16,7 @@ "publish": [ { "path": "@semantic-release/npm", + "npmPublish": false, "tarballDir": "dist" }, { diff --git a/package.json b/package.json index 8a232a0b3..26a9ef04b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/projects/cashmere/package.json b/projects/cashmere/package.json index f9620d745..4bf166a96 100644 --- a/projects/cashmere/package.json +++ b/projects/cashmere/package.json @@ -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", diff --git a/scripts/publish.sh b/scripts/publish.sh index e73a0f16c..679b04513 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -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 diff --git a/scripts/replace-package-version.sh b/scripts/replace-package-version.sh index dfd9f5504..294d11d6d 100755 --- a/scripts/replace-package-version.sh +++ b/scripts/replace-package-version.sh @@ -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