Conversation
1f63e11 to
41eb6c8
Compare
2d18a6f to
a386d15
Compare
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| runtime: ["shell", "statemine", "statemint", "westmint", "rococo"] |
There was a problem hiding this comment.
I don't see the need for building the shell and rococo chains by default. We're not going to be releasing them again any time soon.
There was a problem hiding this comment.
Those are built in parallel so there is no time penalty.
They will NOT but showing up in the release notes thanks to those lines.
Moreover, I cannot simply remove those from here as those rutime data are expected here.
We can improve later I think.
There was a problem hiding this comment.
There is also a benefit, they will be built and attached which makes it easy for us when we need them.
| {%- set audit = "✅ trivial " -%} | ||
| {%- elif c.meta.D and c.meta.D.value == 3 -%} | ||
| {%- set audit = "✅ trivial " -%} |
There was a problem hiding this comment.
The audit section is actually commented out with {# ... #} (see here) so the audit part is not active yet.
| {% if host_fn_count == 0 -%} | ||
| ℹ️ This release does not contain any new host functions. | ||
| {% elif host_fn_count == 1 -%} | ||
| ⚠️ The runtimes in this release contain one new **host function**. |
There was a problem hiding this comment.
I would skip the whole section if none were detected
There was a problem hiding this comment.
Sure, I will leave us a comment so we know it was just not skipped for no reason but I can hide this to the user.
There was a problem hiding this comment.
Hmm this is actually what I initially went for initially but I currently do not know the count ahead of time.
So I run thru the list, keep counting and display the list, thne comes this message.
So if I display nothing that will look like a weird section with no content.
I agree with your goal but the tooling currently does not allow it.
There was a problem hiding this comment.
ok, it's trivial to delete manually, I'd say
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* WIP Release notes generation and templates * WIP Add new sections to the template * WIP renaming and wip * Fix runtime template * Add doc, NO_CACHE and tweaking of the templates * Renaming cl into cumulus to make room for the polkadot and substrate * Fetch data from Substrate and Polkadot * WIP convert bash script to ruby * Convert to Ruby * Fix host function delection * Extract priority to a macro * Fix misc changes * Draft release workflow * Fix runtime dir * Add ENV to ignore runtimes * Install tooling separately * WIP troubleshooting - remove sudo * Minor formatting fixes * Fix workflow * Add missing dep * Linting * Fix changelog script * Add missing tera install * Use absolute paths * Fix path + cleanup * Fix changelog generation * Add missing pre-release ENV * Fix rust version ENV * Fix release notes path * Fix output * Fix runtime_dir for cumulus * Fix ENV substitutions * Fix styling * Debugging * Styling * Fix call to fetch the runtime version * Cleanup and doc * Delete sample .env * Update scripts/changelog/templates/change.md.tera Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> * Change XCM emoji marker for a ✉️ Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* WIP Release notes generation and templates * WIP Add new sections to the template * WIP renaming and wip * Fix runtime template * Add doc, NO_CACHE and tweaking of the templates * Renaming cl into cumulus to make room for the polkadot and substrate * Fetch data from Substrate and Polkadot * WIP convert bash script to ruby * Convert to Ruby * Fix host function delection * Extract priority to a macro * Fix misc changes * Draft release workflow * Fix runtime dir * Add ENV to ignore runtimes * Install tooling separately * WIP troubleshooting - remove sudo * Minor formatting fixes * Fix workflow * Add missing dep * Linting * Fix changelog script * Add missing tera install * Use absolute paths * Fix path + cleanup * Fix changelog generation * Add missing pre-release ENV * Fix rust version ENV * Fix release notes path * Fix output * Fix runtime_dir for cumulus * Fix ENV substitutions * Fix styling * Debugging * Styling * Fix call to fetch the runtime version * Cleanup and doc * Delete sample .env * Update scripts/changelog/templates/change.md.tera Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> * Change XCM emoji marker for a ✉️ Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
* WIP Release notes generation and templates * WIP Add new sections to the template * WIP renaming and wip * Fix runtime template * Add doc, NO_CACHE and tweaking of the templates * Renaming cl into cumulus to make room for the polkadot and substrate * Fetch data from Substrate and Polkadot * WIP convert bash script to ruby * Convert to Ruby * Fix host function delection * Extract priority to a macro * Fix misc changes * Draft release workflow * Fix runtime dir * Add ENV to ignore runtimes * Install tooling separately * WIP troubleshooting - remove sudo * Minor formatting fixes * Fix workflow * Add missing dep * Linting * Fix changelog script * Add missing tera install * Use absolute paths * Fix path + cleanup * Fix changelog generation * Add missing pre-release ENV * Fix rust version ENV * Fix release notes path * Fix output * Fix runtime_dir for cumulus * Fix ENV substitutions * Fix styling * Debugging * Styling * Fix call to fetch the runtime version * Cleanup and doc * Delete sample .env * Update scripts/changelog/templates/change.md.tera Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> * Change XCM emoji marker for a ✉️ Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
This PR introduces a new
workflow_dispatchworkflow that can be used to: