Skip to content

Commit

Permalink
use split method not filter
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jul 3, 2024
1 parent 736bfbe commit 055dbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CHANGELOG.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
{#- RELEASED -#}
{% for version, release in context.history.released.items() %}
{%- set v = namespace() %}
{%- set _v = version.as_tag()|split('.') %}
{%- set _v = version.as_tag().split('.') %}
{%- set v.major = _v[0] %}
{%- set v.minor = _v[1] %}
{%- if v.major|int < 1 %}
Expand Down

0 comments on commit 055dbfb

Please sign in to comment.