Skip to content

Commit

Permalink
Test postupgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Gill committed Jul 12, 2023
1 parent a411c2c commit c28e0e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@
"#\\s*renovate: image=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)"
]
}
]
],
"postUpgradeTasks": {
"commands": [
"sed -i \"s/^version:.*/version: $(grep '^version:' Chart.yaml | awk '{print $2}' | awk -F '[.\"]' '{$NF = $NF + 1;} 1' | sed 's/ /./g')/\" Chart.yaml",
],
"fileFilters": ["Chart.yaml"],
"executionMode": "branch"
}
}
1 change: 1 addition & 0 deletions charts/ghost/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ maintainers:
- name: Element SRE Team

version: "0.82.0"
# renovate: image=ghost
appVersion: "5.38.0-alpine"

0 comments on commit c28e0e1

Please sign in to comment.