rapid7 / awsaml

Awsaml is an application for providing automatically rotated temporary AWS credentials.
MIT License
138 stars 45 forks source link

Update brew cask to 2.3.0 #214

Closed mkienow-r7 closed 1 year ago

mkienow-r7 commented 1 year ago

Updates brew cask for version 2.3.0, fixes #164 and resolves cask install issue.

Attempts to install the awsaml cask resulted in the following error message.

==> Installing Cask awsaml
==> Purging files for version 2.3.0 of Cask awsaml
Error: It seems the App source '/opt/homebrew/Caskroom/awsaml/2.3.0/Awsaml.app' is not there.

Following from guidance on Cask - source is not there I made a minor change to the app stanza, and was able to get it working. Other changes such as single to double quotes were based on the default cask templates.

$ cd brew/cask
$ brew install --cask awsaml.rb
==> Downloading https://github.com/rapid7/awsaml/releases/download/v2.3.0/awsaml-v2.3.0-darwin-x64.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/50682822/2683d5b7-15a3-4f0b-ba00-b0aa3ead24a6?X-Amz-Algorithm=AWS4-HMAC
######################################################################## 100.0%
==> Installing Cask awsaml
==> Moving App 'Awsaml.app' to '/Applications/Awsaml.app'
🍺  awsaml was successfully installed!
wvu commented 1 year ago

Thank you for addressing this!