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 c95048f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,26 @@ jobs:
name: Set Version
id: version
run: |
gkey="${{ secrets.GPG_PRIVATE_KEY }}"
if [ -z "${gkey}" ]; then
echo "gkey NOT set"
else
echo "gkey IS set"
fi
skey="${{ secrets.SEMGREP_APP_TOKEN }}"
if [ -z "${skey}" ]; then
echo "skey NOT set"
else
echo "skey IS set"
fi
ckey="${{ secrets.CHOCO_API_KEY }}"
if [ -z "${ckey}" ]; then
echo "choco api key NOT set"
else
echo "choco api key IS set"
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 c95048f

Please sign in to comment.