Skip to content

Commit

Permalink
chore: fix choco publish nupkg filename
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jun 13, 2020
1 parent f55826f commit 0c9fce1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:
version = re.sub('refs/\w+/', '', '${{ github.ref }}')
# Pop off the leading 'v' in the tag
if version[0] == 'v': version = version[1:]
print('::set-output name=tag::{}'.format(version))
# with open('README.md', 'r', encoding='utf8') as desc_file:
# description = desc_file.read()
with open(
Expand All @@ -228,4 +229,4 @@ jobs:
run: choco pack dist/choco/pacaptr.nuspec --verbose

- name: Push to choco repository
run: choco push pacaptr.${{ steps.ver.outputs.tag }}.nupkg --source https://push.chocolatey.org --verbose
run: choco push pacaptr.${{ steps.ver.replace.tag }}.nupkg --source https://push.chocolatey.org --verbose

0 comments on commit 0c9fce1

Please sign in to comment.