Venafi / homebrew-tap

Homebrew tap for Venafi tools
Apache License 2.0
2 stars 6 forks source link

feat: Update vcert to latest v5.7.1 #44

Closed hawksight closed 3 months ago

hawksight commented 3 months ago

I've manually checked the sha256's locally from the release files, and updated the versions:

> ls -ltr ~/Downloads | tail -8
-rw-r--r--@    1 peter.fiddes  staff    4408145 22 Jul 13:40 vcert_v5.7.1_darwin.zip
-rw-r--r--@    1 peter.fiddes  staff    4190511 22 Jul 13:40 vcert_v5.7.1_darwin_arm.zip
-rw-r--r--@    1 peter.fiddes  staff    4258304 22 Jul 13:40 vcert_v5.7.1_linux.zip
-rw-r--r--@    1 peter.fiddes  staff    4017745 22 Jul 13:40 vcert_v5.7.1_linux86.zip
-rw-r--r--@    1 peter.fiddes  staff    3862018 22 Jul 13:40 vcert_v5.7.1_linux_arm.zip
-rw-r--r--@    1 peter.fiddes  staff    4400227 22 Jul 13:40 vcert_v5.7.1_windows.zip
-rw-r--r--@    1 peter.fiddes  staff    4232371 22 Jul 13:40 vcert_v5.7.1_windows86.zip
-rw-r--r--@    1 peter.fiddes  staff    3962593 22 Jul 13:40 vcert_v5.7.1_windows_arm.zip

# eg.
> sha256sum vcert_v5.7.1_darwin.zip
08469ce83ee816ea01a2341d26b659c44330839d96ca036406611f9bc37791f5  vcert_v5.7.1_darwin.zip

I don't know how to test manually, but I assume I can point to my fork and tap that repo instead?

Signed-off-by: Peter Fiddes peter.fiddes@venafi.com

hawksight commented 3 months ago

I was able to manually test by merging to my forked repo's main branch.

Then:

> brew install hawksight/tap/vcert
vcert 5.6.4 is already installed but outdated (so it will be upgraded).
==> Fetching hawksight/tap/vcert
==> Downloading https://github.com/Venafi/vcert/releases/download/v5.7.1/vcert_v5.7.1_darwin_arm.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/151106525/1d579154-1296-4917-9e9a-1a3712c2c2cb?X-Amz-Algo
#################################################################################################################################################### 100.0%
==> Upgrading hawksight/tap/vcert
  5.6.4 -> 5.7.1
🍺  /opt/homebrew/Cellar/vcert/5.7.1: 4 files, 10.6MB, built in 1 second
==> Running `brew cleanup vcert`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /opt/homebrew/Cellar/vcert/5.6.4... (3 files, 10.2MB)
Removing: /Users/peter.fiddes/Library/Caches/Homebrew/vcert--5.6.4.zip... (3.9MB)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
~/temp/jwt » which vcert
/opt/homebrew/bin/vcert
-----------------------------------------------------------------------------------------------------------------------------------------------------------
~/temp/jwt » vcert --version
vcert version v5.7.1
-----------------------------------------------------------------------------------------------------------------------------------------------------------
~/temp/jwt » vcert -h
Venafi Certificate Utility
   Version: v5.7.1
   Build Timestamp: 20240607.180655

USAGE:
   vcert [global options] command [command options] [arguments...]
...