Skip to content

Commit d319581

Browse files
authored
fix: use v prefix (#72)
1 parent 4be23d5 commit d319581

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.2.0
4+
5+
- Use release version with the v prefix
6+
37
## 0.1.0
48

59
- Initial release

updatecli/policies/updatecli/version/Policy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ url: "https://github.com/elastic/oblt-updatecli-policies/"
55
changelog: "https://github.com/elastic/oblt-updatecli-policies/tree/main/updatecli/policies/updatecli/version/CHANGELOG.md"
66
documentation: "https://github.com/elastic/oblt-updatecli-policies/tree/main/updatecli/policies/updatecli/version/README.md"
77
source: "https://github.com/elastic/oblt-updatecli-policies/tree/main/updatecli/policies/updatecli/version/"
8-
version: 0.1.0
8+
version: 0.2.0
99
vendor: Updatecli Project
1010

1111
licenses:

updatecli/policies/updatecli/version/updatecli.d/default.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ targets:
3131
spec:
3232
file: '{{ .path }}'
3333
# {{ if hasSuffix ".tool-versions" .path }}
34-
matchpattern: '^updatecli\s+\d+\.\d+\.\d+'
34+
matchpattern: '^updatecli\s+v\d+\.\d+\.\d+'
3535
content: 'updatecli {{ source `version` }}'
3636
# {{ else }}
3737
# |+ adds newline to the end of the file

0 commit comments

Comments
 (0)