This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Build wasm blob with srtool and include prop hashes and blobs in…
… release notes (#1506) * initial build-wasms commit * fix wasm builds * add caching and artifact upload * test for git dir * Revert "test for git dir" This reverts commit 295e465. * fix git version incompability * attempt to fix caching * Revert "fix git version incompability" This reverts commit 1d22ffd. * add kusama job * use a build matrix for building runtimes * combine build-wasms and publish draft release * attempt to name runtimes according to version * Revert "attempt to name runtimes according to version" This reverts commit 82f7b4d. Failed experiment * name runtimes according to version #2 * fix asset path and name * build wasms first, include prop hash
- Loading branch information
Showing
4 changed files
with
118 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# frozen_string_literal: true | ||
|
||
# A collection of helper functions that might be useful for various scripts | ||
|
||
# Gets the runtime version for a given runtime. | ||
# Optionally accepts a path that is the root of the project which defaults to | ||
# the current working directory | ||
def get_runtime(runtime, path = '.') | ||
File.open(path + "/runtime/#{runtime}/src/lib.rs") do |f| | ||
f.find { |l| l =~ /spec_version/ }.match(/[0-9]+/)[0] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters