diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 56e9714e380..0f0edc209e5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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( @@ -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