Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit a810c00

Browse files
committed
fix for hyper-router
1 parent 469f7b3 commit a810c00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/version.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def set_version(repo, version, hrversion = nil)
2525
out << line.sub(/VERSION = ['"][\w.-]+['"]/, "VERSION = '#{version}'" )
2626
elsif hrversion && /\sROUTERVERSION/.match?(line)
2727
out << line.sub(/ROUTERVERSION = ['"][\w.-]+['"]/, "ROUTERVERSION = '#{hrversion}'" )
28+
elsif /\sHYPERLOOP_VERSION/.match?(line)
29+
out << line.sub(/HYPERLOOP_VERSION = ['"][\w.-]+['"]/, "HYPERLOOP_VERSION = '#{version}'" )
2830
else
2931
out << line
3032
end

0 commit comments

Comments
 (0)