@stordata/vsphere-soapify 0.0.39 → 1.0.20241204083450
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/.gitlab-ci.yml +3 -1
- package/README.md +1 -27
- package/gl-sbom-npm-npm.cdx.json +4211 -0
- package/package.json +2 -2
package/.gitlab-ci.yml
CHANGED
|
@@ -25,8 +25,10 @@ release:
|
|
|
25
25
|
tags:
|
|
26
26
|
- docker
|
|
27
27
|
script:
|
|
28
|
+
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
|
29
|
+
- sed -i "s/\"version\":\s\"\(.*\..*\)\.\(.*\)\"/\"version\":\"\1.$(date +%Y%m%d%H%M%S)\"/" package.json
|
|
28
30
|
- npm -registry=https://registry.npmjs.org whoami
|
|
29
31
|
- npm -registry=https://registry.npmjs.org publish
|
|
30
32
|
- git checkout .
|
|
31
33
|
rules:
|
|
32
|
-
- if: $
|
|
34
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
package/README.md
CHANGED
|
@@ -58,30 +58,4 @@ client
|
|
|
58
58
|
|
|
59
59
|
## Releasing
|
|
60
60
|
|
|
61
|
-
This library is released on NPM.
|
|
62
|
-
|
|
63
|
-
* Be on `master` branch and fully rebased
|
|
64
|
-
* Tag the version to release
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
git tag v$(jq -r .version package.json)
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
* Increment version number in [package.json](package.json)
|
|
71
|
-
* Persist changes in lockfile
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
npm i
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
* Commit your changes
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
git commit -am"[ci skip] Bumped version to $(jq -r .version package.json)"
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
* Push everything
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
git push $(git config branch.master.remote) master --tags
|
|
87
|
-
```
|
|
61
|
+
This library is released oncommit on NPM. There's nothing to do.
|