| create { |
| verify { test: "git_test.py" } |
| source { |
| patch_version: "chromium.11" |
| cpe_base_address: "cpe:/a:git_project:git" |
| } |
| } |
| |
| create { |
| platform_re: "linux-.*|mac-.*" |
| |
| source { git { |
| repo: "https://chromium.googlesource.com/external/github.com/git/git" |
| tag_pattern: "v%s" |
| }} |
| |
| build { |
| tool: "tools/autoconf" |
| tool: "tools/gettext" |
| tool: "tools/sed" |
| |
| dep: "static_libs/curl" |
| dep: "static_libs/libidn2" |
| dep: "static_libs/libexpat" |
| dep: "static_libs/openssl" |
| dep: "static_libs/pcre2" |
| dep: "static_libs/zlib" |
| } |
| } |
| |
| create { |
| platform_re: "windows-.*" |
| source { script { name: "fetch_win.py" }} |
| build { |
| install: "install_win.sh" |
| |
| tool: "tools/7z" |
| } |
| package { |
| # On windows we actually source the version of git from the git-on-windows |
| # project, which maintains its own patch suffix of the form ".windows.XX". |
| # |
| # Unfortunately, we only support deploying a SINGLE tag across all |
| # platforms, which means that we need the tagged package to match |
| # everywhere. |
| # |
| # So, we remove the .windows.XX suffix here; if git-for-windows produces |
| # a new patch version that you need, bump the 'patch_version' at the top of |
| # this file. You'll get new builds on other platforms, too, but <shrug>. |
| alter_version_re: "(.*)\\.windows\\.\\d*(.*)" |
| alter_version_replace: "\\1\\2" |
| } |
| } |
| |
| upload { pkg_prefix: "tools" } |