From 4c30bc7e7d6d796fbe07baab13b822cc0954ff5f Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Sun, 14 Sep 2025 20:00:03 -0600 Subject: [PATCH] ci: Attempting to fix path errors in chocolatey install --- .github/workflows/release.yml | 5 ++-- CHANGELOG.md | 34 ---------------------------- Cargo.lock | 2 +- Cargo.toml | 2 +- deployment/homebrew/gman.rb.template | 2 +- 5 files changed, 6 insertions(+), 39 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6daa33..a718dbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -406,8 +406,9 @@ jobs: # Publish to Chocolatey cd ./deployment/chocolatey choco pack - echo y | choco install gman -dv -s . - $version = gman.exe --version + choco install gman --yes -dv -s . + $exe = Get-ChildItem "$env:ChocolateyInstall\lib\gman\tools\gman*.exe" -ErrorAction Stop | Select-Object -First 1 -Expand FullName + $version = & $exe --version $version = $version -replace " ", "." choco push $version.nupkg -s https://push.chocolatey.org/ --api-key ${{ secrets.CHOCOLATEY_API_KEY }}; diff --git a/CHANGELOG.md b/CHANGELOG.md index 59a509c..6327d89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,37 +6,3 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.0.1] - 2025-09-10 - -## v0.1.0 (2025-09-15) - -### Fix - -- Pass the changelog to the GHA properly using a file -- Potential bug in changelog variable generation -- Revert back hacky stuff so I can test with act now -- Attempting to use pre-generated bindgens for the aws-lc-sys library -- Install openSSL differently to make this work -- Address edge case for unknown_musl targets -- Install LLVM prereqs for release flow -- Updated the release flow to install the external bindgen-cli - -## v0.0.1 (2025-09-12) - -### Feat - -- Azure Key Vault support -- GCP Secret Manager support -- Full AWS SecretsManager support -- AWS Secrets Manager support -- Added two new flags to output where gman writes logs to and where it expects the config file to live - -### Fix - -- Made the vault file location more fault tolerant -- Attempting to maybe be a bit more explicit about config file handling to fix MacOS tests - -### Refactor - -- Refactor configuration structs directly into the provider definition to simplify validation, structs, and future extensions -- Made the creation of the log directories a bit more fault tolerant -- Renamed the provider field in a config file to type to make things a little easier to understand; also removed husky diff --git a/Cargo.lock b/Cargo.lock index 544da2b..2cc613c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1576,7 +1576,7 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "gman" -version = "0.1.0" +version = "0.0.1" dependencies = [ "anyhow", "argon2", diff --git a/Cargo.toml b/Cargo.toml index 61a597d..46c4d95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gman" -version = "0.1.0" +version = "0.0.1" edition = "2024" authors = ["Alex Clarke "] description = "Universal secret management and injection tool" diff --git a/deployment/homebrew/gman.rb.template b/deployment/homebrew/gman.rb.template index 1fbe370..4ed310b 100644 --- a/deployment/homebrew/gman.rb.template +++ b/deployment/homebrew/gman.rb.template @@ -1,6 +1,6 @@ # Documentation: https://docs.brew.sh/Formula-Cookbook # https://rubydoc.brew.sh/Formula -class GMan < Formula +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?