Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
75074952
Unverified
Commit
75074952
authored
1 year ago
by
Egor_P
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[Backport] Reformat release notes generation (#3759)
This PR backports small reformatting of the release notes templates.
parent
7b6b061e
No related merge requests found
Pipeline
#457345
failed with stages
in 1 hour, 24 minutes, and 43 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/release/build-changelogs.sh
+1
-0
1 addition, 0 deletions
scripts/release/build-changelogs.sh
scripts/release/templates/audience.md.tera
+2
-4
2 additions, 4 deletions
scripts/release/templates/audience.md.tera
with
3 additions
and
4 deletions
scripts/release/build-changelogs.sh
+
1
−
0
View file @
75074952
...
...
@@ -48,6 +48,7 @@ for audience in "${audiences[@]}"; do
echo
"Processing audience:
$audience
(
$audience_id
)"
export
TARGET_AUDIENCE
=
$audience
tera
-t
"
${
TEMPLATE_AUDIENCE
}
"
--env
--env-key
env
"
${
CONTEXT_JSON
}
"
>
"
$OUTPUT
/relnote_
${
audience_id
}
.md"
cat
"
$OUTPUT
/relnote_
${
audience_id
}
.md"
>>
"
$OUTPUT
/relnote_combined.md"
done
# Show the files
...
...
This diff is collapsed.
Click to expand it.
scripts/release/templates/audience.md.tera
+
2
−
4
View file @
75074952
## Release {{ env.PRODUCT }} {{ env.VERSION }}
Changelog for `{{ env.TARGET_AUDIENCE }}`.
### Changelog for `{{ env.TARGET_AUDIENCE }}`
{% for file in prdoc -%}
#### PR #{{file.doc_filename.number}}: {{ file.content.title }}
{% for doc_item in file.content.doc %}
{%- if doc_item.audience == env.TARGET_AUDIENCE %}
#### [#{{file.doc_filename.number}}]: {{ file.content.title }}
{{ doc_item.description }}
{% endif -%}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment