ci: Added deployment scripts for chocolatey and homebrew
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
$ErrorActionPreference = 'Stop';
|
$ErrorActionPreference = 'Stop';
|
||||||
|
|
||||||
$PackageName = 'managarr'
|
$PackageName = 'gman'
|
||||||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
$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'
|
$checksum64 = '$hash_64'
|
||||||
|
|
||||||
$packageArgs = @{
|
$packageArgs = @{
|
||||||
|
|||||||
@@ -19,31 +19,31 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
|
|||||||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
||||||
<metadata>
|
<metadata>
|
||||||
<!-- == PACKAGE SPECIFIC SECTION == -->
|
<!-- == PACKAGE SPECIFIC SECTION == -->
|
||||||
<id>managarr</id>
|
<id>gman</id>
|
||||||
<version>$version</version>
|
<version>$version</version>
|
||||||
|
|
||||||
<!-- == SOFTWARE SPECIFIC SECTION == -->
|
<!-- == SOFTWARE SPECIFIC SECTION == -->
|
||||||
<!-- This section is about the software itself -->
|
<!-- This section is about the software itself -->
|
||||||
<title>Managarr</title>
|
<title>G-Man</title>
|
||||||
<authors>Alex Clarke</authors>
|
<authors>Alex Clarke</authors>
|
||||||
<projectUrl>https://github.com/Dark-Alex-17/managarr</projectUrl>
|
<projectUrl>https://github.com/Dark-Alex-17/gman</projectUrl>
|
||||||
<licenseUrl>https://github.com/Dark-Alex-17/managarr/blob/main/LICENSE</licenseUrl>
|
<licenseUrl>https://github.com/Dark-Alex-17/gman/blob/main/LICENSE</licenseUrl>
|
||||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||||
<projectSourceUrl>https://github.com/Dark-Alex-17/managarr</projectSourceUrl>
|
<projectSourceUrl>https://github.com/Dark-Alex-17/gman</projectSourceUrl>
|
||||||
<docsUrl>https://github.com/Dark-Alex-17/managarr/blob/main/README.md</docsUrl>
|
<docsUrl>https://github.com/Dark-Alex-17/gman/blob/main/README.md</docsUrl>
|
||||||
<bugTrackerUrl>https://github.com/Dark-Alex-17/managarr/issues</bugTrackerUrl>
|
<bugTrackerUrl>https://github.com/Dark-Alex-17/gman/issues</bugTrackerUrl>
|
||||||
<tags>cli cross-platform terminal servarr tui sonarr radarr rust</tags>
|
<tags>cli cross-platform terminal credential-management secret-management rust</tags>
|
||||||
<summary>A TUI and CLI for managing *arr servers.</summary>
|
<summary>Universal command line credential management and injection tool</summary>
|
||||||
<description>
|
<description>
|
||||||
A TUI and CLI for managing *arr servers. Built with love in Rust!
|
Universal command line credential management and injection tool.
|
||||||
|
|
||||||
**Usage**
|
**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).
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
<releaseNotes>https://github.com/Dark-Alex-17/managarr/releases/tag/v$version/</releaseNotes>
|
<releaseNotes>https://github.com/Dark-Alex-17/gman/releases/tag/v$version/</releaseNotes>
|
||||||
</metadata>
|
</metadata>
|
||||||
<files>
|
<files>
|
||||||
<!-- this section controls what actually gets packaged into the Chocolatey package -->
|
<!-- this section controls what actually gets packaged into the Chocolatey package -->
|
||||||
|
|||||||
@@ -1,24 +1,23 @@
|
|||||||
# Documentation: https://docs.brew.sh/Formula-Cookbook
|
# Documentation: https://docs.brew.sh/Formula-Cookbook
|
||||||
# https://rubydoc.brew.sh/Formula
|
# https://rubydoc.brew.sh/Formula
|
||||||
class Managarr < Formula
|
class GMan < Formula
|
||||||
desc "A fast and simple dashboard for Kubernetes written in Rust"
|
desc "Universal command line credential management and injection tool"
|
||||||
homepage "https://github.com/Dark-Alex-17/managarr"
|
homepage "https://github.com/Dark-Alex-17/gman"
|
||||||
if OS.mac? and Hardware::CPU.arm?
|
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"
|
sha256 "$hash_mac_arm"
|
||||||
elsif OS.mac? and Hardware::CPU.intel?
|
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"
|
sha256 "$hash_mac"
|
||||||
else
|
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"
|
sha256 "$hash_linux"
|
||||||
end
|
end
|
||||||
version "$version"
|
version "$version"
|
||||||
license "MIT"
|
license "MIT"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
bin.install "managarr"
|
bin.install "gman"
|
||||||
ohai "You're done! Run with \"managarr\""
|
ohai "You're done! Get started with \"gman --help\""
|
||||||
ohai "For runtime flags, see \"managarr --help\""
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user