Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Jul 5, 2024
1 parent 23c252b commit d2f1db8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ jobs:
name: Set Version
id: version
run: |
ckey="${{ secrets.CHOCO_API_KEY }}"
if [ -z "${ckey}" ]; then
echo "choco api key not set"
else
echo "choco api key ${ckey}"
fi
exit 1
version=$(echo "${{ steps.latesttag.outputs.tag }}" | grep -oE "[[:digit:]]{1,}\.[[:digit:]]{1,}\.[[:digit:]]{1,}")
echo "nuget=$version" >> $GITHUB_OUTPUT
sed -i "s/{VERSION}/${version}/g" "nuspec/chocolatey/okta-aws-cli.nuspec"
Expand Down

0 comments on commit d2f1db8

Please sign in to comment.