@capawesome/cli 1.5.0 → 1.6.0
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/CHANGELOG.md +7 -0
- package/dist/commands/apps/bundles/create.js +18 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.6.0](https://github.com/capawesome-team/cli/compare/v1.5.0...v1.6.0) (2025-03-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add git integration ([#34](https://github.com/capawesome-team/cli/issues/34)) ([7ca323a](https://github.com/capawesome-team/cli/commit/7ca323a030e9c70866c2cf1c34c69ef9dc0129e0))
|
|
11
|
+
|
|
5
12
|
## [1.5.0](https://github.com/capawesome-team/cli/compare/v1.4.1...v1.5.0) (2025-02-21)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -52,6 +52,18 @@ exports.default = (0, citty_1.defineCommand)({
|
|
|
52
52
|
type: 'string',
|
|
53
53
|
description: 'Channel to associate the bundle with.',
|
|
54
54
|
},
|
|
55
|
+
commitMessage: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
description: 'The commit message related to the bundle.',
|
|
58
|
+
},
|
|
59
|
+
commitRef: {
|
|
60
|
+
type: 'string',
|
|
61
|
+
description: 'The commit ref related to the bundle.',
|
|
62
|
+
},
|
|
63
|
+
commitSha: {
|
|
64
|
+
type: 'string',
|
|
65
|
+
description: 'The commit sha related to the bundle.',
|
|
66
|
+
},
|
|
55
67
|
customProperty: {
|
|
56
68
|
type: 'string',
|
|
57
69
|
description: 'A custom property to assign to the bundle. Must be in the format `key=value`. Can be specified multiple times.',
|
|
@@ -105,6 +117,9 @@ exports.default = (0, citty_1.defineCommand)({
|
|
|
105
117
|
let privateKey = ctx.args.privateKey;
|
|
106
118
|
let rolloutAsString = ctx.args.rollout === undefined ? undefined : ctx.args.rollout + ''; // Convert to string
|
|
107
119
|
let url = ctx.args.url;
|
|
120
|
+
let commitMessage = ctx.args.commitMessage;
|
|
121
|
+
let commitRef = ctx.args.commitRef;
|
|
122
|
+
let commitSha = ctx.args.commitSha;
|
|
108
123
|
// Validate the expiration days
|
|
109
124
|
let expiresAt;
|
|
110
125
|
if (expiresInDays) {
|
|
@@ -228,6 +243,9 @@ exports.default = (0, citty_1.defineCommand)({
|
|
|
228
243
|
artifactType,
|
|
229
244
|
channelName,
|
|
230
245
|
checksum,
|
|
246
|
+
gitCommitMessage: commitMessage,
|
|
247
|
+
gitCommitRef: commitRef,
|
|
248
|
+
gitCommitSha: commitSha,
|
|
231
249
|
customProperties: parseCustomProperties(customProperty),
|
|
232
250
|
expiresAt: expiresAt,
|
|
233
251
|
url,
|
package/package.json
CHANGED