Skip to content

Commit e80f77d

Browse files
authored
Merge pull request #192 from git-for-windows/drop-i686-bash
Drop the i686 variant of Bash
2 parents 5cd1e16 + 6573bbb commit e80f77d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

GitForWindowsHelper/component-updates.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,13 @@ const getMissingDeployments = async (package_name, version) => {
179179
} else if (package_name !== msysName) {
180180
urls.push(...pacmanRepositoryURLs(package_name, version, mingwArchitectures))
181181
} else {
182-
urls.push(...pacmanRepositoryURLs(package_name, version, architectures))
182+
urls.push(...pacmanRepositoryURLs(
183+
package_name,
184+
version,
185+
package_name === 'bash'
186+
? architectures.filter(e => e !== 'i686')
187+
: architectures
188+
))
183189
}
184190
const { doesURLReturn404 } = require('./https-request')
185191
const result = await Promise.all(urls.map(async url => doesURLReturn404(url)))

GitForWindowsHelper/slash-commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ module.exports = async (context, req) => {
200200
)
201201
}
202202

203-
if (package_name !== 'msys2-runtime' && package_name !== 'pcre2') {
203+
if (package_name !== 'msys2-runtime' && package_name !== 'pcre2' && package_name !== 'bash') {
204204
toTrigger.push(
205205
{ architecture: 'i686' }
206206
)

0 commit comments

Comments
 (0)