Skip to content

Commit

Permalink
[NotationV0] fix: notation task warning message (#19339)
Browse files Browse the repository at this point in the history
* fix: notation task warning logic

Signed-off-by: Junjie Gao <junjiegao@microsoft.com>

* fix: bump up version
  • Loading branch information
JeyJeyGao authored Dec 8, 2023
1 parent a8f3dd4 commit b82b6e5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Tasks/NotationV0/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tasks/NotationV0/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notation",
"version": "0.231.0",
"version": "0.232.0",
"description": "Azure Pipepine Task for setting up Notation CLI, sign and verify with Notation",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion Tasks/NotationV0/src/lib/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class WarningStream extends Writable {
this.buffer = lines.pop() || '';
// extract warnings related to security from logs
for (const line of lines) {
if (line.startsWith('Warning: Always sign the artifact using the digest')) {
if (line.startsWith('Warning: Always sign the artifact using digest')) {
taskLib.warning(line);
taskLib.setTaskVariable(STATUS, WARNING);
} else {
Expand Down
2 changes: 1 addition & 1 deletion Tasks/NotationV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"minimumAgentVersion": "2.144.0",
"version": {
"Major": 0,
"Minor": 231,
"Minor": 232,
"Patch": 0
},
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion Tasks/NotationV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"minimumAgentVersion": "2.144.0",
"version": {
"Major": 0,
"Minor": 231,
"Minor": 232,
"Patch": 0
},
"groups": [
Expand Down

0 comments on commit b82b6e5

Please sign in to comment.