Skip to content

Commit

Permalink
fix chocolatey workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marianina8 committed May 21, 2024
1 parent 0a69afb commit 2ef94f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
run: |
version=${{ steps.latesttag.outputs.tag }}
echo "nuget=$version" >> $GITHUB_OUTPUT
sed -i "s/{VERSION}/${version}/g" "choco/timetravel.nuspec"
sed -i "s/__REPLACE__/${version}/g" "choco/timetravel.nuspec"
- name: Choco Downgrade
uses: crazy-max/ghaction-chocolatey@v3
with:
Expand All @@ -64,4 +64,4 @@
uses: crazy-max/ghaction-chocolatey@v3
with:
args: push choco/timetravel/timetravel.${{ steps.version.outputs.nuget }}.nupkg
-s https://push.chocolatey.org/ -k ${{ secrets.CHOCO_KEY }}
-s https://push.chocolatey.org/ -k ${{ secrets.CHOCO_KEY }}
2 changes: 1 addition & 1 deletion choco/timetravel.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>timetravel</id>
<version>{{ .Version }}</version>
<version>__REPLACE__</version>
<title>Time Travel CLI</title>
<authors>marianina8</authors>
<owners>marianina8</owners>
Expand Down

0 comments on commit 2ef94f8

Please sign in to comment.