From f7993714ec78db718d249b38964a9571539d41c2 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 12 Sep 2025 11:49:12 -0600 Subject: [PATCH] ci: Added deployment scripts for chocolatey and homebrew --- .../chocolatey/chocolateyinstall.ps1.template | 4 +-- .../chocolatey/managarr.nuspec.template | 26 +++++++++---------- deployment/homebrew/managarr.rb.template | 17 ++++++------ 3 files changed, 23 insertions(+), 24 deletions(-) diff --git a/deployment/chocolatey/chocolateyinstall.ps1.template b/deployment/chocolatey/chocolateyinstall.ps1.template index c872b37..3bd79c3 100644 --- a/deployment/chocolatey/chocolateyinstall.ps1.template +++ b/deployment/chocolatey/chocolateyinstall.ps1.template @@ -1,8 +1,8 @@ $ErrorActionPreference = 'Stop'; -$PackageName = 'managarr' +$PackageName = 'gman' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$url64 = 'https://github.com/Dark-Alex-17/managarr/releases/download/v$version/managarr-windows.tar.gz' +$url64 = 'https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-windows.tar.gz' $checksum64 = '$hash_64' $packageArgs = @{ diff --git a/deployment/chocolatey/managarr.nuspec.template b/deployment/chocolatey/managarr.nuspec.template index 954bd9d..755a8c7 100644 --- a/deployment/chocolatey/managarr.nuspec.template +++ b/deployment/chocolatey/managarr.nuspec.template @@ -19,31 +19,31 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe - managarr + gman $version - Managarr + G-Man Alex Clarke - https://github.com/Dark-Alex-17/managarr - https://github.com/Dark-Alex-17/managarr/blob/main/LICENSE + https://github.com/Dark-Alex-17/gman + https://github.com/Dark-Alex-17/gman/blob/main/LICENSE true - https://github.com/Dark-Alex-17/managarr - https://github.com/Dark-Alex-17/managarr/blob/main/README.md - https://github.com/Dark-Alex-17/managarr/issues - cli cross-platform terminal servarr tui sonarr radarr rust - A TUI and CLI for managing *arr servers. + https://github.com/Dark-Alex-17/gman + https://github.com/Dark-Alex-17/gman/blob/main/README.md + https://github.com/Dark-Alex-17/gman/issues + cli cross-platform terminal credential-management secret-management rust + Universal command line credential management and injection tool - A TUI and CLI for managing *arr servers. Built with love in Rust! + Universal command line credential management and injection tool. **Usage** - To use, run `managarr` in a terminal. + To get started, run `gman --help` in a terminal. - For more [documentation and usage](https://github.com/Dark-Alex-17/managarr/blob/main/README.md), see the [official repo](https://github.com/Dark-Alex-17/managarr). + For more [documentation and usage](https://github.com/Dark-Alex-17/gman/blob/main/README.md), see the [official repo](https://github.com/Dark-Alex-17/gman). - https://github.com/Dark-Alex-17/managarr/releases/tag/v$version/ + https://github.com/Dark-Alex-17/gman/releases/tag/v$version/ diff --git a/deployment/homebrew/managarr.rb.template b/deployment/homebrew/managarr.rb.template index 91c68fd..65d36cb 100644 --- a/deployment/homebrew/managarr.rb.template +++ b/deployment/homebrew/managarr.rb.template @@ -1,24 +1,23 @@ # Documentation: https://docs.brew.sh/Formula-Cookbook # https://rubydoc.brew.sh/Formula -class Managarr < Formula - desc "A fast and simple dashboard for Kubernetes written in Rust" - homepage "https://github.com/Dark-Alex-17/managarr" +class GMan < Formula + desc "Universal command line credential management and injection tool" + homepage "https://github.com/Dark-Alex-17/gman" if OS.mac? and Hardware::CPU.arm? - url "https://github.com/Dark-Alex-17/managarr/releases/download/v$version/managarr-macos-arm64.tar.gz" + url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-macos-arm64.tar.gz" sha256 "$hash_mac_arm" elsif OS.mac? and Hardware::CPU.intel? - url "https://github.com/Dark-Alex-17/managarr/releases/download/v$version/managarr-macos.tar.gz" + url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-macos.tar.gz" sha256 "$hash_mac" else - url "https://github.com/Dark-Alex-17/managarr/releases/download/v$version/managarr-linux-musl.tar.gz" + url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-linux-musl.tar.gz" sha256 "$hash_linux" end version "$version" license "MIT" def install - bin.install "managarr" - ohai "You're done! Run with \"managarr\"" - ohai "For runtime flags, see \"managarr --help\"" + bin.install "gman" + ohai "You're done! Get started with \"gman --help\"" end end