mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
base priority on client changes only (#1969)
This commit is contained in:
@@ -24,7 +24,7 @@ renderer = ERB.new(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# get ref of last polkadot release
|
# get ref of last polkadot release
|
||||||
last_ref = "refs/tags/" + github_client.latest_release(ENV['GITHUB_REPOSITORY']).tag_name
|
last_ref = 'refs/tags/' + github_client.latest_release(ENV['GITHUB_REPOSITORY']).tag_name
|
||||||
|
|
||||||
polkadot_cl = Changelog.new(
|
polkadot_cl = Changelog.new(
|
||||||
'paritytech/polkadot', last_ref, current_ref, token: token
|
'paritytech/polkadot', last_ref, current_ref, token: token
|
||||||
@@ -37,7 +37,7 @@ def get_substrate_commit(client, ref)
|
|||||||
client.contents(
|
client.contents(
|
||||||
ENV['GITHUB_REPOSITORY'],
|
ENV['GITHUB_REPOSITORY'],
|
||||||
path: 'Cargo.lock',
|
path: 'Cargo.lock',
|
||||||
query: { ref: "#{ref}"}
|
query: { ref: ref.to_s }
|
||||||
).content
|
).content
|
||||||
)
|
)
|
||||||
).parsed
|
).parsed
|
||||||
@@ -81,7 +81,9 @@ runtime_changes.each do |c|
|
|||||||
c[:pretty_title] = "✅ `trivial` #{c[:pretty_title]}"
|
c[:pretty_title] = "✅ `trivial` #{c[:pretty_title]}"
|
||||||
end
|
end
|
||||||
|
|
||||||
release_priority = Changelog.highest_priority_for_changes(all_changes)
|
# The priority of users upgraded is determined by the highest-priority
|
||||||
|
# *Client* change
|
||||||
|
release_priority = Changelog.highest_priority_for_changes(client_changes)
|
||||||
|
|
||||||
# Pulled from the previous Github step
|
# Pulled from the previous Github step
|
||||||
rustc_stable = ENV['RUSTC_STABLE']
|
rustc_stable = ENV['RUSTC_STABLE']
|
||||||
|
|||||||
Reference in New Issue
Block a user