Browse Source

use dotnet pack to buid in symbols (#1127)

Charlie Kindel 4 years ago
parent
commit
eb07d85ec6
2 changed files with 10 additions and 3 deletions
  1. 3 0
      .github/workflows/publish.yml
  2. 7 3
      Terminal.Gui/README.md

+ 3 - 0
.github/workflows/publish.yml

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

+ 7 - 3
Terminal.Gui/README.md

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