Skip to content

Commit

Permalink
build: correct tag input
Browse files Browse the repository at this point in the history
  • Loading branch information
elementh committed May 22, 2023
1 parent a0e3bfa commit c93161f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/thankifi.common.filters.abstractions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
working-directory: ./src
run: |
arrTag=(${GITHUB_REF//\// })
VERSION="${arrTag[2]//V}"
VERSION="${arrTag[2]}"
VERSION="${VERSION//v}"
dotnet pack --configuration Release --no-restore --include-symbols --include-source -p:PackageVersion=$VERSION --output ${{ env.LOCAL_NUGET_DIRECTORY }} $PROJECT_NAME/$PROJECT_NAME.csproj
- uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/thankifi.common.filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
working-directory: ./src
run: |
arrTag=(${GITHUB_REF//\// })
VERSION="${arrTag[2]//V}"
VERSION="${arrTag[2]}"
VERSION="${VERSION//v}"
dotnet pack --configuration Release --no-restore --include-symbols --include-source -p:PackageVersion=$VERSION --output ${{ env.LOCAL_NUGET_DIRECTORY }} $PROJECT_NAME/$PROJECT_NAME.csproj
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit c93161f

Please sign in to comment.