-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc936b0
commit e47c617
Showing
6 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
npm run lerna publish -- --dist-tag latest --canary --no-git-tag-version --no-git-reset --yes --preid snapshot | ||
|
||
for dir in packages/*/ ; do | ||
printf "registry = https://repositories.mrf.io/nexus/repository/npm-internal/\nalways-auth=true\n_auth=${1}" > "${dir}.npmrc" | ||
done | ||
|
||
npm config set registry https://repositories.mrf.io/nexus/repository/npm-internal/ | ||
npm config set https://repositories.mrf.io/nexus/repository/npm-internal/:_authToken $1 | ||
npm config set strict-ssl false | ||
git config --global user.email 'jenkins@elpilas' | ||
git config --global user.name 'jenkins' | ||
npm config list && git add . && git commit -m 'new version' | ||
git status | ||
|
||
npm run lerna publish -- from-package --dist-tag latest --yes --registry https://repositories.mrf.io/nexus/repository/npm-internal/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,3 +165,4 @@ module.exports = { | |
} | ||
}] | ||
}; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ | |
"prettier": "^1.19.1" | ||
} | ||
} | ||
|