mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
use dotnet pack to buid in symbols (#1127)
This commit is contained in:
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@@ -30,6 +30,9 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
|
||||
- name: Pack nuget package with symbols
|
||||
run: dotnet pack --include-symbols
|
||||
|
||||
- name: Publish Terminal.Gui
|
||||
id: publish_nuget
|
||||
|
||||
@@ -27,7 +27,9 @@ Version info for Terminal.Gui is managed by MinVer (https://github.com/adamralph
|
||||
To release a new version simply tag a commit
|
||||
|
||||
```powershell
|
||||
git tag vmajor.minor.patch.build.height
|
||||
git tag vmajor.minor.patch.build.height -a
|
||||
git push upstream origin vmajor.minor.patch.build.height
|
||||
|
||||
```
|
||||
|
||||
`patch` can indicate pre-release or not
|
||||
@@ -35,13 +37,15 @@ git tag vmajor.minor.patch.build.height
|
||||
e.g:
|
||||
|
||||
```powershell
|
||||
git tag v1.3.4-beta.5
|
||||
git tag v1.3.4-beta.5 -a
|
||||
git push upstream v1.3.4-beta.5
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```powershell
|
||||
git tag v2.3.4.5
|
||||
git tag v2.3.4.5 -a
|
||||
git push upstream v2.3.4.5
|
||||
```
|
||||
|
||||
Then rebuild the project and the version info will be updated.
|
||||
|
||||
Reference in New Issue
Block a user