Skip to content

Commit

Permalink
Fix release.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Smagin committed Aug 10, 2021
1 parent 0be9e08 commit ac43c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Set package version
id: set-version
run: |
$version = "${{ github.event.release.tag_name }}" -replace "v(\d+.\d+.\d+.*)", '$1')
$version = ("${{ github.event.release.tag_name }}" -replace "v(\d+.\d+.\d+.*)", '$1')
echo "BUILD_VERSION=${version}" >> $Env:GITHUB_ENV
- shell: pwsh
Expand All @@ -48,4 +48,4 @@ jobs:
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
nuget push "./Cake.Sitecore.${{ env.BUILD_VERSION }}.nupkg" -ApiKey "${{ env.NUGET_API_KEY }}" -SkipDuplicate
nuget push "./Cake.Sitecore.${{ env.BUILD_VERSION }}.nupkg" -ApiKey "${{ env.NUGET_API_KEY }}" -Source https://api.nuget.org/v3/index.json -SkipDuplicate

0 comments on commit ac43c0e

Please sign in to comment.