Skip to content

Commit fbb7c89

Browse files
committed
wip
1 parent 50fdf7e commit fbb7c89

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

.release_tool.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ release_output_template = '''{% set breaking_with_desc = all_notes|selectattr('c
567567
{% for note in breaking_with_desc %}
568568
<br>### {{ note.title }}
569569
{{ note.description }}
570-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
570+
{% if note.url %}See {{ note.url }} for details.{% endif %}
571571
572572
{% endfor %}
573573
{% endif %}
@@ -577,7 +577,7 @@ release_output_template = '''{% set breaking_with_desc = all_notes|selectattr('c
577577
{% for note in migration_notes %}
578578
<br>### {{ note.title }}<br>
579579
{{ note.migration_notes }}
580-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
580+
{% if note.url %}See {{ note.url }} for details.{% endif %}
581581
582582
{% endfor %}
583583
{% endif %}
@@ -587,7 +587,7 @@ release_output_template = '''{% set breaking_with_desc = all_notes|selectattr('c
587587
{% for note in non_breaking_with_desc %}
588588
<br>### {{ note.title }}
589589
{{ note.description }}
590-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
590+
{% if note.url %}See {{ note.url }} for details.{% endif %}
591591
592592
{% endfor %}
593593
{% endif %}

src/release_tool/commands/init_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def init_config(ctx, assume_yes: bool):
117117
{% for note in breaking_with_desc %}
118118
### {{ note.title }}
119119
{{ note.description }}
120-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
120+
{% if note.url %}See {{ note.url }} for details.{% endif %}
121121
122122
{% endfor %}
123123
{% endif %}

src/release_tool/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ class ReleaseNoteConfig(BaseModel):
338338
"\n"
339339
"{{ note.description }}\n"
340340
"\n"
341-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
341+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
342342
"\n"
343343
"{% endfor %}\n"
344344
"{% endif %}\n"
@@ -352,7 +352,7 @@ class ReleaseNoteConfig(BaseModel):
352352
"\n"
353353
"{{ note.migration_notes }}\n"
354354
"\n"
355-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
355+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
356356
"\n"
357357
"{% endfor %}\n"
358358
"{% endif %}\n"
@@ -366,7 +366,7 @@ class ReleaseNoteConfig(BaseModel):
366366
"\n"
367367
"{{ note.description }}\n"
368368
"\n"
369-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
369+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
370370
"\n"
371371
"{% endfor %}\n"
372372
"{% endif %}\n"

src/release_tool/config_template.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ release_output_template = '''{% set breaking_with_desc = all_notes|selectattr('c
593593
{% for note in breaking_with_desc %}
594594
<br>### {{ note.title }}
595595
{{ note.description }}
596-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
596+
{% if note.url %}See {{ note.url }} for details.{% endif %}
597597
598598
{% endfor %}
599599
{% endif %}
@@ -603,7 +603,7 @@ release_output_template = '''{% set breaking_with_desc = all_notes|selectattr('c
603603
{% for note in migration_notes %}
604604
<br>### {{ note.title }}<br>
605605
{{ note.migration_notes }}
606-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
606+
{% if note.url %}See {{ note.url }} for details.{% endif %}
607607
608608
{% endfor %}
609609
{% endif %}
@@ -613,7 +613,7 @@ release_output_template = '''{% set breaking_with_desc = all_notes|selectattr('c
613613
{% for note in non_breaking_with_desc %}
614614
<br>### {{ note.title }}
615615
{{ note.description }}
616-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
616+
{% if note.url %}See {{ note.url }} for details.{% endif %}
617617
618618
{% endfor %}
619619
{% endif %}

src/release_tool/migrations/v1_0_to_v1_1.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"{% for note in breaking_with_desc %}\n"
3030
"### {{ note.title }}\n"
3131
"{{ note.description }}\n"
32-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
32+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
3333
"\n"
3434
"{% endfor %}\n"
3535
"{% endif %}\n"
@@ -39,7 +39,7 @@
3939
"{% for note in migration_notes %}\n"
4040
"### {{ note.title }}\n"
4141
"{{ note.migration_notes }}\n"
42-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
42+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
4343
"\n"
4444
"{% endfor %}\n"
4545
"{% endif %}\n"
@@ -49,7 +49,7 @@
4949
"{% for note in non_breaking_with_desc %}\n"
5050
"### {{ note.title }}\n"
5151
"{{ note.description }}\n"
52-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
52+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
5353
"\n"
5454
"{% endfor %}\n"
5555
"{% endif %}\n"
@@ -76,7 +76,7 @@
7676
"\n"
7777
"{{ note.description }}\n"
7878
"\n"
79-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
79+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
8080
"\n"
8181
"{% endfor %}\n"
8282
"{% endif %}\n"
@@ -90,7 +90,7 @@
9090
"\n"
9191
"{{ note.migration_notes }}\n"
9292
"\n"
93-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
93+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
9494
"\n"
9595
"{% endfor %}\n"
9696
"{% endif %}\n"
@@ -104,7 +104,7 @@
104104
"\n"
105105
"{{ note.description }}\n"
106106
"\n"
107-
"{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}\n"
107+
"{% if note.url %}See {{ note.url }} for details.{% endif %}\n"
108108
"\n"
109109
"{% endfor %}\n"
110110
"{% endif %}\n"
@@ -133,7 +133,7 @@
133133
134134
{{ note.description }}
135135
136-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
136+
{% if note.url %}See {{ note.url }} for details.{% endif %}
137137
138138
{% endfor %}
139139
{% endif %}
@@ -147,7 +147,7 @@
147147
148148
{{ note.migration_notes }}
149149
150-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
150+
{% if note.url %}See {{ note.url }} for details.{% endif %}
151151
152152
{% endfor %}
153153
{% endif %}
@@ -161,7 +161,7 @@
161161
162162
{{ note.description }}
163163
164-
{% if note.url %}See [#{{ note.pr_numbers[0] }}]({{ note.url }}) for details.{% endif %}
164+
{% if note.url %}See {{ note.url }} for details.{% endif %}
165165
166166
{% endfor %}
167167
{% endif %}

0 commit comments

Comments
 (0)