Skip to content

Commit

Permalink
Debugging version extraction in release-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Jul 5, 2021
1 parent 88a5377 commit 0594216
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
with:
script: |
const matches = /refs\/tags\/(.+)\/v(.+)/.exec(context.ref);
return { package: matches[1], version: matches[2] };
const packageInfo = { package: matches[1], version: matches[2] };
console.log(JSON.stringify(packageInfo));
return packageInfo;
- name: Nuget Pack
env:
VERSION: ${{ steps.extract-version.outputs.result.version }}
Expand Down

0 comments on commit 0594216

Please sign in to comment.