Skip to content

Commit

Permalink
fix CI publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Nov 20, 2024
1 parent 10ccafb commit afc7321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/github/lib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# 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 + "/polkadot-parachains/#{runtime}-runtime/src/lib.rs") do |f|
File.open(path + "/polkadot-parachains/#{runtime}/src/lib.rs") do |f|
f.find { |l| l =~ /spec_version/ }.match(/[0-9]+/)[0]
end
end

0 comments on commit afc7321

Please sign in to comment.