@adinsure-ops/ops-cli 5.0.7 → 5.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/CHANGELOGS.md +4 -0
- package/lib/lib/gitlab.d.ts +2 -2
- package/lib/lib/gitlab.js +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOGS.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelogs
|
|
2
2
|
|
|
3
|
+
## 5.0.8: 2023-12-22
|
|
4
|
+
|
|
5
|
+
- gitlab:get-nightly-tag command request is fixed since the parameters in the HTTP header were misconfigured
|
|
6
|
+
|
|
3
7
|
## 5.0.7: 2023-12-18
|
|
4
8
|
|
|
5
9
|
- Sql command can now accept aruguments in lowercase as well as with a capital first letter
|
package/lib/lib/gitlab.d.ts
CHANGED
|
@@ -14,10 +14,10 @@ export default class GitLab {
|
|
|
14
14
|
getLatestVersion(searchVersion: string, prefix?: string): Promise<semver.SemVer>;
|
|
15
15
|
/**
|
|
16
16
|
* Try to figure out latest available version already created
|
|
17
|
-
* @param
|
|
17
|
+
* @param tag_name Tag name
|
|
18
18
|
* @param ref Reference
|
|
19
19
|
* @returns {void}
|
|
20
20
|
*/
|
|
21
|
-
createNewTag(
|
|
21
|
+
createNewTag(tag_name: string, ref: string): Promise<void>;
|
|
22
22
|
getTagPipelineStatus(tag: string): Promise<string>;
|
|
23
23
|
}
|
package/lib/lib/gitlab.js
CHANGED
|
@@ -65,15 +65,15 @@ export default class GitLab {
|
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* Try to figure out latest available version already created
|
|
68
|
-
* @param
|
|
68
|
+
* @param tag_name Tag name
|
|
69
69
|
* @param ref Reference
|
|
70
70
|
* @returns {void}
|
|
71
71
|
*/
|
|
72
|
-
createNewTag(
|
|
72
|
+
createNewTag(tag_name, ref) {
|
|
73
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
74
74
|
try {
|
|
75
75
|
yield axios.post(`${this.host}${this.apiBase}/${this.project}/repository/tags`, {
|
|
76
|
-
|
|
76
|
+
tag_name,
|
|
77
77
|
ref,
|
|
78
78
|
}, {
|
|
79
79
|
headers: {
|
package/oclif.manifest.json
CHANGED