@@ -28,8 +28,7 @@ const GIT_CONFIG_PARAMETERS = `'checkout.workers=56'`
28
28
export function getArtifactMetadata (
29
29
flavor : string ,
30
30
architecture : string
31
- ) : { bitness : string ; repo : string ; artifactName : string } {
32
- const bitness = architecture === 'i686' ? '32' : '64'
31
+ ) : { repo : string ; artifactName : string } {
33
32
const repo = {
34
33
i686 : 'git-sdk-32' ,
35
34
x86_64 : 'git-sdk-64' ,
@@ -42,7 +41,7 @@ export function getArtifactMetadata(
42
41
43
42
const artifactName = `${ repo } -${ flavor } `
44
43
45
- return { bitness , repo, artifactName}
44
+ return { repo, artifactName}
46
45
}
47
46
48
47
async function clone (
@@ -95,10 +94,7 @@ export async function getViaGit(
95
94
} > {
96
95
const owner = 'git-for-windows'
97
96
98
- const { bitness, repo, artifactName} = getArtifactMetadata (
99
- flavor ,
100
- architecture
101
- )
97
+ const { repo, artifactName} = getArtifactMetadata ( flavor , architecture )
102
98
103
99
const octokit = githubToken ? new Octokit ( { auth : githubToken } ) : new Octokit ( )
104
100
let head_sha : string
@@ -167,7 +163,7 @@ export async function getViaGit(
167
163
...traceArg ,
168
164
'.tmp/build-extra/please.sh' ,
169
165
'create-sdk-artifact' ,
170
- `--bitness =${ bitness } ` ,
166
+ `--architecture =${ architecture } ` ,
171
167
`--out=${ outputDirectory } ` ,
172
168
'--sdk=.tmp' ,
173
169
flavor
0 commit comments