-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
475 reactivate linux build #477
Changes from all commits
8233ed7
5b85872
6d3552f
62c19e0
b23d871
bd1c5c9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,11 @@ | |
|
||
task :prepare_for_build, [:product_version] do |t, args| | ||
product_version = sanitized_version(args.product_version) | ||
|
||
copy_files_to_lib_folder | ||
|
||
update_package_version(product_version) | ||
|
||
install_pksim('feature/relative_expression_redesign') | ||
install_pksim('develop') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Yuri05 Done |
||
end | ||
|
||
task :postclean do | ||
|
@@ -29,6 +28,7 @@ | |
# This task is temporary until we have an automated linux build | ||
task :create_linux_build, [:product_version, :build_dir, :linux_distro] do |t, args| | ||
product_version = sanitized_version(args.product_version) | ||
|
||
build_dir = args.build_dir | ||
linux_distro = args.linux_distro | ||
|
||
|
@@ -168,9 +168,9 @@ def sanitized_version(version) | |
def update_package_version(version) | ||
#Replace token Version: x.y.z with the version from appveyor | ||
replacement = { | ||
/Version: \d\.\d\.\d/ => "Version: #{version}" | ||
/Version: \d+\.\d+\.\d+/ => "Version: #{version}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reged. .was parsing 9.x.z but not 10.x.z... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lol |
||
} | ||
|
||
puts "Patching #{description_file} with version #{version}".light_blue | ||
Utils.replace_tokens(replacement, description_file) | ||
end | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Yuri05 Unrelated but ensure that we are using the global version (suite component)