Skip to content

Commit b82b6e5

Browse files
authored
[NotationV0] fix: notation task warning message (#19339)
* fix: notation task warning logic Signed-off-by: Junjie Gao <[email protected]> * fix: bump up version
1 parent a8f3dd4 commit b82b6e5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Tasks/NotationV0/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tasks/NotationV0/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "notation",
3-
"version": "0.231.0",
3+
"version": "0.232.0",
44
"description": "Azure Pipepine Task for setting up Notation CLI, sign and verify with Notation",
55
"main": "src/index.js",
66
"scripts": {

Tasks/NotationV0/src/lib/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class WarningStream extends Writable {
4444
this.buffer = lines.pop() || '';
4545
// extract warnings related to security from logs
4646
for (const line of lines) {
47-
if (line.startsWith('Warning: Always sign the artifact using the digest')) {
47+
if (line.startsWith('Warning: Always sign the artifact using digest')) {
4848
taskLib.warning(line);
4949
taskLib.setTaskVariable(STATUS, WARNING);
5050
} else {

Tasks/NotationV0/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"minimumAgentVersion": "2.144.0",
1111
"version": {
1212
"Major": 0,
13-
"Minor": 231,
13+
"Minor": 232,
1414
"Patch": 0
1515
},
1616
"groups": [

Tasks/NotationV0/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"minimumAgentVersion": "2.144.0",
1111
"version": {
1212
"Major": 0,
13-
"Minor": 231,
13+
"Minor": 232,
1414
"Patch": 0
1515
},
1616
"groups": [

0 commit comments

Comments
 (0)