File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 4747 run : dotnet restore
4848 - name : Build
4949 run : dotnet build --configuration Release --no-restore
50+ - name : AddTag
51+ run : |
52+ git tag ${{ env.CURRENT_VERSION }}
53+ git push origin --tags
5054 - name : Publish
5155 run : dotnet publish --configuration Release --no-restore
5256 - name : NugetPush
6064 - uses : " marvinpinto/action-automatic-releases@latest"
6165 with :
6266 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
63- automatic_release_tag : " latest-prerelease "
67+ automatic_release_tag : ${{ env.CURRENT_VERSION }}
6468 prerelease : true
6569 files : |
6670 LICENSE
8084 run : dotnet restore
8185 - name : Build
8286 run : dotnet build --configuration Release --no-restore
87+ - name : AddTag
88+ run : |
89+ git tag ${{ env.CURRENT_VERSION }}
90+ git push origin --tags
8391 - name : Publish
8492 run : dotnet publish --configuration Release --no-restore
8593 - name : NugetPush
94102 - uses : " marvinpinto/action-automatic-releases@latest"
95103 with :
96104 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
97- automatic_release_tag : " latest "
105+ automatic_release_tag : ${{ env.CURRENT_VERSION }}
98106 files : |
99107 LICENSE
100108 GithubActionsHelloWorld.zip
You can’t perform that action at this time.
0 commit comments