From 2e8b3702784a7a256ac1111391018b7a809e8bb9 Mon Sep 17 00:00:00 2001 From: Rynco Maekawa Date: Sat, 13 Jun 2020 21:14:36 +0800 Subject: [PATCH] chore: Fix description code. My bad. --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 01c526f74b8..2c89619c92a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -210,13 +210,14 @@ jobs: encoding='utf8') as template_file: template = template_file.read() template = re.sub('\{version\}', escape(version), template) - template = re.sub('\{description\}', escape(description), template) + # template = re.sub('\{description\}', escape(description), template) with open('dist/choco/pacaptr.nuspec', 'w', encoding='utf8') as output: output.write(template) - print('Output file:') - name: Check nuget template - run: cat dist/choco/pacaptr.nuspec + run: | + echo "NuGet spec file:" + cat dist/choco/pacaptr.nuspec - name: Set choco api key run: choco apikey --key ${{ secrets.CHOCO_API_KEY }} --source https://push.chocolatey.org --verbose