use dotnet pack to buid in symbols (#1127)

This commit is contained in:
Charlie Kindel
2021-03-08 19:07:49 -07:00
committed by GitHub
parent c16f882d99
commit eb07d85ec6
2 changed files with 10 additions and 3 deletions

View File

@@ -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

View File

@@ -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.