@eui/tools 6.14.2 → 6.14.3
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/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.14.
|
|
1
|
+
6.14.3
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.14.3 (2023-12-04)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* slack message per sub project in group - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([cfd3f96e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/cfd3f96e2d51171a8869bd9c6447f14fca58a8ef))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.14.2 (2023-12-04)
|
|
2
11
|
|
|
3
12
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -73,14 +73,6 @@ module.exports.run = () => {
|
|
|
73
73
|
utils.tools.logTitle('-------------------------------------------------------------');
|
|
74
74
|
utils.tools.logTitle(`Releasing new version of application "${projectsGroup}"`);
|
|
75
75
|
utils.tools.logTitle('-------------------------------------------------------------');
|
|
76
|
-
|
|
77
|
-
// start mailStack
|
|
78
|
-
utils.notification.messageStack.startStack();
|
|
79
|
-
|
|
80
|
-
return utils.notification.project.sendProjectMessage({
|
|
81
|
-
project: projectsGroup,
|
|
82
|
-
text: `:arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: Launching *${projectsGroup}* release projects group for *${envTargetGen}* environment`,
|
|
83
|
-
});
|
|
84
76
|
})
|
|
85
77
|
|
|
86
78
|
// *****************************************************************
|
|
@@ -159,6 +151,17 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
159
151
|
|
|
160
152
|
return (
|
|
161
153
|
Promise.resolve()
|
|
154
|
+
// sending slack release start msg
|
|
155
|
+
.then(() => {
|
|
156
|
+
// start mailStack
|
|
157
|
+
utils.notification.messageStack.startStack();
|
|
158
|
+
|
|
159
|
+
return utils.notification.project.sendProjectMessage({
|
|
160
|
+
project: project,
|
|
161
|
+
text: `:arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: :arrow_forward: Launching *${project.name}* release projects group for *${branch}* branch`,
|
|
162
|
+
});
|
|
163
|
+
})
|
|
164
|
+
|
|
162
165
|
// get release version
|
|
163
166
|
.then(() => {
|
|
164
167
|
utils.tools.logTitle('Getting app new version...');
|
|
@@ -205,6 +208,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
205
208
|
utils.tools.logInfo('Distribution list for project :');
|
|
206
209
|
console.log(distJson);
|
|
207
210
|
|
|
211
|
+
let bucketsDelivered = 0;
|
|
212
|
+
|
|
208
213
|
// distributing to s3 buckets
|
|
209
214
|
utils.tools.logTitle('Distributing to S3 buckets');
|
|
210
215
|
|
|
@@ -222,6 +227,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
222
227
|
if (!dryRun) {
|
|
223
228
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
224
229
|
}
|
|
230
|
+
|
|
231
|
+
bucketsDelivered++;
|
|
225
232
|
}
|
|
226
233
|
|
|
227
234
|
// checking docFolder 1
|
|
@@ -236,6 +243,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
236
243
|
if (!dryRun) {
|
|
237
244
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
238
245
|
}
|
|
246
|
+
|
|
247
|
+
bucketsDelivered++;
|
|
239
248
|
}
|
|
240
249
|
|
|
241
250
|
// checking docFolder 2
|
|
@@ -250,6 +259,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
250
259
|
if (!dryRun) {
|
|
251
260
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
252
261
|
}
|
|
262
|
+
|
|
263
|
+
bucketsDelivered++;
|
|
253
264
|
}
|
|
254
265
|
|
|
255
266
|
// checking docFolder 3
|
|
@@ -264,9 +275,19 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
|
|
|
264
275
|
if (!dryRun) {
|
|
265
276
|
execa.sync('aws', ['s3', 'cp', '--recursive', sourcePath, s3Path]);
|
|
266
277
|
}
|
|
278
|
+
|
|
279
|
+
bucketsDelivered++;
|
|
267
280
|
}
|
|
268
281
|
})
|
|
269
282
|
|
|
283
|
+
// sending s3 delivery message
|
|
284
|
+
.then(() => {
|
|
285
|
+
return utils.notification.project.sendProjectMessage({
|
|
286
|
+
project: project,
|
|
287
|
+
text: `:dart: *${project.name}* - *${bucketsDelivered}* S3 buckets published`,
|
|
288
|
+
});
|
|
289
|
+
})
|
|
290
|
+
|
|
270
291
|
// commit release message
|
|
271
292
|
.then(() => {
|
|
272
293
|
let message;
|