Skip to content

Commit

Permalink
Merge pull request #7146 from sheldonhull/fix/git-town
Browse files Browse the repository at this point in the history
fix(git-town): 🐛 package did not handle replacements for cpu type correctly
  • Loading branch information
suzuki-shunsuke committed Oct 18, 2022
2 parents 93b0a02 + ede39e2 commit ef9ae8f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 6 deletions.
4 changes: 4 additions & 0 deletions pkgs/git-town/git-town/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
packages:
- name: git-town/git-town@v7.8.0
- name: git-town/git-town
version: v7.4.0
- name: git-town/git-town
version: v7.3.0
22 changes: 19 additions & 3 deletions pkgs/git-town/git-town/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,32 @@ packages:
- type: github_release
repo_owner: git-town
repo_name: git-town
asset: git-town_{{trimV .Version}}_{{.OS}}_arm_64.{{.Format}}
asset: git-town_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
description: Generic, high-level Git workflow support
replacements:
darwin: macos
amd64: intel_64
arm64: arm_64
overrides:
- goos: windows
format: zip
asset: git-town_{{trimV .Version}}_{{.OS}}_intel_64.{{.Format}}
supported_envs:
- darwin
- linux
- amd64
rosetta2: true
version_constraint: semver(">= 7.7.0")
version_overrides:
- version_constraint: semver(">= 7.4.0")
# In v7.7.0, darwin/arm64 was supported
rosetta2: true
- version_constraint: "true"
# In v7.4.0, linux/arm64 was supported and asset name formats were changed
rosetta2: true
replacements: {}
asset: git-town-{{.OS}}-{{.Arch}}
format: raw
supported_envs:
- darwin
- amd64
overrides: []
22 changes: 19 additions & 3 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef9ae8f

Please sign in to comment.