etendo-ui-library 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "etendo-ui-library",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "android": "react-native run-android",
@@ -49,7 +49,8 @@ pipeline {
49
49
 
50
50
  stage('Publish version') {
51
51
  steps {
52
- sh 'npm publish --tag next --patch --access public'
52
+ sh 'yarn version --patch'
53
+ sh 'npm publish --tag next --access public'
53
54
  withCredentials([sshUserPrivateKey(credentialsId: 'my-credentials', keyFileVariable: 'keyfile')]) {
54
55
  withCredentials([usernamePassword(credentialsId: "koodu_credentials", passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) {
55
56
  sh """
@@ -57,7 +58,7 @@ pipeline {
57
58
  git config user.email "$GIT_USERNAME"
58
59
  """
59
60
  sh 'git add package.json'
60
- sh 'git commit -m "Update version to $(npm pkg get version) in package.json"'
61
+ sh 'git commit -m \"Update version to \$(node -pe \"require(\'./package.json\')[\'version\']") in package.json\"'
61
62
  sh 'GIT_SSH_COMMAND=\"ssh -i ${keyfile}\" git push $GIT_URL --tags'
62
63
  }
63
64
  }