richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
-
346521f9
by Pier Angelo Vendrame at 2023-12-20T16:21:41+00:00
1 changed file:
Changes:
1 | 1 | # vim: filetype=yaml sw=2
|
2 | -version: 1.21.5
|
|
2 | +version: '[% IF c("var/use_go_1_20") %]1.20.12[% ELSE %]1.21.5[% END %]'
|
|
3 | 3 | filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
|
4 | 4 | container:
|
5 | 5 | use_container: 1
|
6 | 6 | |
7 | 7 | var:
|
8 | + use_go_1_20: 0
|
|
8 | 9 | setup: |
|
9 | 10 | mkdir -p /var/tmp/dist
|
10 | 11 | tar -C /var/tmp/dist -xf $rootdir/[% c("go_tarfile") %]
|
... | ... | @@ -72,6 +73,7 @@ targets: |
72 | 73 | windows:
|
73 | 74 | var:
|
74 | 75 | GOOS: windows
|
76 | + use_go_1_20: '[% c("origin_project") != "snowflake" %]'
|
|
75 | 77 | windows-i686:
|
76 | 78 | var:
|
77 | 79 | GOARCH: 386
|
... | ... | @@ -117,9 +119,14 @@ input_files: |
117 | 119 | - name: '[% c("var/compiler") %]'
|
118 | 120 | project: '[% c("var/compiler") %]'
|
119 | 121 | enable: '[% ! c("var/linux") %]'
|
120 | - - URL: 'https://golang.org/dl/go[% c("version") %].src.tar.gz'
|
|
122 | + - URL: 'https://go.dev/dl/go[% c("version") %].src.tar.gz'
|
|
121 | 123 | name: go
|
122 | 124 | sha256sum: 285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19
|
125 | + enable: '[% !c("var/use_go_1_20") %]'
|
|
126 | + - URL: 'https://go.dev/dl/go[% c("version") %].src.tar.gz'
|
|
127 | + name: go
|
|
128 | + sha256sum: c5bf934751d31c315c1d0bb5fb02296545fa6d08923566f7a5afec81f2ed27d6
|
|
129 | + enable: '[% c("var/use_go_1_20") %]'
|
|
123 | 130 | - project: go-bootstrap
|
124 | 131 | name: go-bootstrap
|
125 | 132 | target_replace:
|