浏览代码

use dotnet pack to buid in symbols (#1127)

Charlie Kindel 4 年之前
父节点
当前提交
eb07d85ec6
共有 2 个文件被更改,包括 10 次插入3 次删除
  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
       - name: Build
         run: dotnet build --configuration Release --no-restore
         run: dotnet build --configuration Release --no-restore
+
+      - name: Pack nuget package with symbols
+        run: dotnet pack --include-symbols
       
       
       - name: Publish Terminal.Gui
       - name: Publish Terminal.Gui
         id: publish_nuget
         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
 To release a new version simply tag a commit
 
 
 ```powershell
 ```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
 `patch` can indicate pre-release or not
@@ -35,13 +37,15 @@ git tag vmajor.minor.patch.build.height
 e.g: 
 e.g: 
        
        
 ```powershell
 ```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
     or
        
        
 ```powershell
 ```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.
 Then rebuild the project and the version info will be updated.