Skip to content

Commit

Permalink
feat: add arkade darwin arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
innobead committed Dec 10, 2023
1 parent 166145c commit 1bb5c32
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/generator/src/pkg/arkade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ pub fn release() -> Package {
tag_version_regex_template: None,
scan_dirs: None,
}),
PackageTargetType::MacOSArm64(PackageManagement {
artifact_templates: vec!["{version}/arkade-darwin-arm64".to_string()],
executable_templates: None,
executable_mappings: None,
install_commands: None,
uninstall_commands: None,
upgrade_commands: None,
tag_version_regex_template: None,
scan_dirs: None,
}),
// vec!["{version}/arkade-darwin-arm64".to_string()]
PackageTargetType::Windows(PackageManagement {
artifact_templates: vec!["{version}/arkade.exe".to_string()],
executable_templates: None,
Expand Down
3 changes: 3 additions & 0 deletions generated/packages/arkade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ targets:
- MacOS:
artifact_templates:
- '{version}/arkade-darwin'
- MacOSArm64:
artifact_templates:
- '{version}/arkade-darwin-arm64'
- Windows:
artifact_templates:
- '{version}/arkade.exe'
Expand Down

0 comments on commit 1bb5c32

Please sign in to comment.