Skip to content

Commit e25cefd

Browse files
fix(ops): only print contributors for non-new releases
This commit limits printing new contributors only for *successive* releases after the first for a given project. This is currently the easiest way for `git-cliff` to avoid pulling in *all* project contributors (from all time) to any new 0.0.1 release for a project.
1 parent 87b4fe5 commit e25cefd

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

crates/js-component-bindgen/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body = """
2323
{% endfor %}
2424
{% endfor %}\n
2525
26-
{%- if github -%}
26+
{%- if github and previous.version -%}
2727
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
2828
{% raw %}\n{% endraw -%}
2929
## New Contributors

packages/jco-std/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body = """
2323
{% endfor %}
2424
{% endfor %}\n
2525
26-
{%- if github -%}
26+
{%- if github and previous.version -%}
2727
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
2828
{% raw %}\n{% endraw -%}
2929
## New Contributors

packages/jco-transpile/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body = """
2323
{% endfor %}
2424
{% endfor %}\n
2525
26-
{%- if github -%}
26+
{%- if github and previous.version -%}
2727
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
2828
{% raw %}\n{% endraw -%}
2929
## New Contributors

packages/jco/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body = """
2323
{% endfor %}
2424
{% endfor %}\n
2525
26-
{%- if github -%}
26+
{%- if github and previous.version -%}
2727
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
2828
{% raw %}\n{% endraw -%}
2929
## New Contributors

packages/preview2-shim/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body = """
2323
{% endfor %}
2424
{% endfor %}\n
2525
26-
{%- if github -%}
26+
{%- if github and previous.version -%}
2727
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
2828
{% raw %}\n{% endraw -%}
2929
## New Contributors

packages/preview3-shim/cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body = """
2323
{% endfor %}
2424
{% endfor %}\n
2525
26-
{%- if github -%}
26+
{%- if github and previous.version -%}
2727
{% if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
2828
{% raw %}\n{% endraw -%}
2929
## New Contributors

0 commit comments

Comments
 (0)