File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
updatecli/policies/updatecli/version Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.2.1
4+
5+ - Fetch only semver releases with ` major.minor.patch ` format.
6+
37## 0.2.0
48
59- Use release version with the v prefix
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ url: "https://github.com/elastic/oblt-updatecli-policies/"
55changelog : " https://github.com/elastic/oblt-updatecli-policies/tree/main/updatecli/policies/updatecli/version/CHANGELOG.md"
66documentation : " https://github.com/elastic/oblt-updatecli-policies/tree/main/updatecli/policies/updatecli/version/README.md"
77source : " https://github.com/elastic/oblt-updatecli-policies/tree/main/updatecli/policies/updatecli/version/"
8- version : 0.2.0
8+ version : 0.2.1
99vendor : Updatecli Project
1010
1111licenses :
Original file line number Diff line number Diff line change @@ -13,15 +13,16 @@ pipelineid: '{{ .pipelineid }}'
1313
1414sources:
1515 version:
16- name: Get latest updatecli version from updatecli/updatecli
16+ name: Get latest semver updatecli version from updatecli/updatecli
1717 kind: githubrelease
1818 spec:
1919 owner: updatecli
2020 repository: updatecli
2121 token: "{ { default $GitHubPAT .scm.token } }"
2222 username: "{ { default $GitHubUsername .scm.username } }"
2323 versionFilter:
24- kind: latest
24+ kind: regex/semver
25+ pattern: "^(\\d*\\.\\d*\\.\\d*)$"
2526
2627targets:
2728 updatecli-version-file:
You can’t perform that action at this time.
0 commit comments