Skip to content

Commit

Permalink
Add windows/arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Aug 22, 2021
1 parent ed95a58 commit a25b911
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ check_goos_goarch() {
openbsd/arm64) return 0 ;;
windows/386) return 0 ;;
windows/amd64) return 0 ;;
windows/arm) return 0 ;;
*)
echo "$1: unsupported platform" 1>&2
return 1
Expand Down
2 changes: 1 addition & 1 deletion docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ documentation, and shell completions.
| Linux | `amd64`, `arm`, `arm64`, `i386`, `ppc64`, `ppc64le` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| macOS | `amd64`, `arm64` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| OpenBSD | `amd64`, `arm`, `arm64`, `i386` | [`tar.gz`](https://github.com/twpayne/chezmoi/releases/latest) |
| Windows | `amd64`, `i386` | [`zip`](https://github.com/twpayne/chezmoi/releases/latest) |
| Windows | `amd64`, `arm`, `i386` | [`zip`](https://github.com/twpayne/chezmoi/releases/latest) |

## All pre-built Linux packages and binaries

Expand Down
2 changes: 1 addition & 1 deletion internal/cmds/generate-install.sh/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func run() error {
}

// Exclude unsupported platforms.
delete(supportedPlatforms, newPlatform("windows", "arm")) // Not supported by goreleaser.
delete(supportedPlatforms, newPlatform("windows", "arm64"))

// Build set of platforms.
allPlatforms := make(map[platform]struct{})
Expand Down

0 comments on commit a25b911

Please sign in to comment.