Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Jul 3, 2024
1 parent 0c31252 commit 293add1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 293add1

Please sign in to comment.