Skip to content

Commit

Permalink
chore: refine renovaterc for actions updates (#200)
Browse files Browse the repository at this point in the history
Signed-off-by: msclock <msclock@qq.com>
  • Loading branch information
msclock authored Apr 11, 2024
1 parent fb7ea55 commit e5fb761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"action"
],
"postUpgradeTasks": {
"commands": [
"find template -type f -exec sed -i 's|{{{depName}}}@{{{currentDigest}}}|{{{depName}}}@{{{newDigest}}}|g' {} +"
]
"commands": [
"find template -type f -exec sed -i 's|{{{depName}}}@{{{currentDigest}}} # {{{currentValue}}}|{{{depName}}}@{{{newDigest}}} # {{{newValue}}}|g' {} +"
]
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions template/.renovaterc.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"action"
],
"postUpgradeTasks": {
"commands": [
"find template -type f -exec sed -i {{ '\'s|{{{depName}}}@{{{currentDigest}}}|{{{depName}}}@{{{newDigest}}}|g\'' }} {} +"
]
"commands": [
"find template -type f -exec sed -i {{ '\'s|{{{depName}}}@{{{currentDigest}}} # {{{currentValue}}}|{{{depName}}}@{{{newDigest}}} # {{{newValue}}}|g\' {} +' }}"
]
}
},
{
Expand Down

0 comments on commit e5fb761

Please sign in to comment.