From 293add1853634b0b138f4043b6096a0c3afa610e Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Wed, 3 Jul 2024 15:34:16 -0700 Subject: [PATCH] WIP --- .github/workflows/chocolatey.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/chocolatey.yml b/.github/workflows/chocolatey.yml index da911f6..e65205b 100644 --- a/.github/workflows/chocolatey.yml +++ b/.github/workflows/chocolatey.yml @@ -34,10 +34,8 @@ jobs: - name: Set Checksum run: | - wip=$(which which) - wip=$(which echo) - wip=$(which grep) - shortVersion=$(echo "${{ steps.latesttag.outputs.tag }}" | grep -oE '\d{1,2}\.\d{1,2}\.\d{1,2}') + # shortVersion=$(echo "${{ steps.latesttag.outputs.tag }}" | grep -oE '\d{1,2}\.\d{1,2}\.\d{1,2}') + shortVersion="${{ steps.latesttag.outputs.tag }}" filename="okta-aws-cli_${shortVersion}_windows_386.zip" url="https://github.com/${{ github.repository }}/releases/download/${{ steps.latesttag.outputs.tag }}/${filename}" sed -i "s#{ZIPURL}#${url}#g" "nuspec/chocolatey/tools/chocolateyinstall.ps1"