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
da121e41
Commit
da121e41
authored
4 years ago
by
s3krit
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
update generate_release_text.rb (#1812)
parent
9ba87539
Branches
gh-readonly-queue/master/pr-3955-9b378a2ffef1d5846872adc4336341805bffbc30
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
polkadot/scripts/github/generate_release_text.rb
+21
-1
21 additions, 1 deletion
polkadot/scripts/github/generate_release_text.rb
with
21 additions
and
1 deletion
polkadot/scripts/github/generate_release_text.rb
+
21
−
1
View file @
da121e41
...
...
@@ -54,7 +54,10 @@ substrate_cl = Changelog.new(
prefix:
true
)
all_changes
=
polkadot_cl
.
changes
+
substrate_cl
.
changes
# Combine all changes into a single array and filter out companions
all_changes
=
(
polkadot_cl
.
changes
+
substrate_cl
.
changes
).
reject
do
|
c
|
c
[
:title
]
=~
/[Cc]ompanion/
end
# Set all the variables needed for a release
...
...
@@ -62,6 +65,23 @@ misc_changes = Changelog.changes_with_label(all_changes, 'B1-releasenotes')
client_changes
=
Changelog
.
changes_with_label
(
all_changes
,
'B5-clientnoteworthy'
)
runtime_changes
=
Changelog
.
changes_with_label
(
all_changes
,
'B7-runtimenoteworthy'
)
# Add the audit status for runtime changes
runtime_changes
.
each
do
|
c
|
if
c
.
labels
.
any?
{
|
l
|
l
[
:name
]
==
'D1-audited👍'
}
c
[
:pretty_title
]
=
"✅ `audited`
#{
c
[
:pretty_title
]
}
"
next
end
if
c
.
labels
.
any?
{
|
l
|
l
[
:name
]
==
'D9-needsaudit👮'
}
c
[
:pretty_title
]
=
"❌ `AWAITING AUDIT`
#{
c
[
:pretty_title
]
}
"
next
end
if
c
.
labels
.
any?
{
|
l
|
l
[
:name
]
==
'D5-nicetohaveaudit⚠️'
}
c
[
:pretty_title
]
=
"⏳ `pending non-critical audit`
#{
c
[
:pretty_title
]
}
"
next
end
c
[
:pretty_title
]
=
"✅ `trivial`
#{
c
[
:pretty_title
]
}
"
end
release_priority
=
Changelog
.
highest_priority_for_changes
(
all_changes
)
# Pulled from the previous Github step
...
...
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