File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 - name : Install GitVersion
3030 uses : gittools/actions/gitversion/setup@v4
3131 with :
32- versionSpec : ' 5 .x'
32+ versionSpec : ' 6 .x'
3333
3434 - name : Run GitVersion
3535 id : gitversion
5555 run : dotnet pack --no-build -c Release -o ../artifacts /p:Version=$GITVERSION_SEMVER
5656 working-directory : src
5757
58+ - name : Create and push git tag
59+ if : ${{ github.ref == 'refs/heads/main' }}
60+ run : |
61+ git config user.name "github-actions[bot]"
62+ git config user.email "github-actions[bot]@users.noreply.github.com"
63+ git tag -a $GITVERSION_SEMVER -m "Release $GITVERSION_SEMVER"
64+ git push origin $GITVERSION_SEMVER
65+
5866 - name : Push NuGet packages to Feedz ⬆️
5967 working-directory : artifacts
6068 run : dotnet nuget push Feedz.Client.$GITVERSION_SEMVER.nupkg --api-key ${{ secrets.FEEDZ_APIKEY }} -s https://f.feedz.io/feedz-io/public/nuget/index.json
You can’t perform that action at this time.
0 commit comments