From eb07d85ec6e6fcb9e420fb819ccd7f9181ffb407 Mon Sep 17 00:00:00 2001 From: Charlie Kindel Date: Mon, 8 Mar 2021 19:07:49 -0700 Subject: [PATCH] use dotnet pack to buid in symbols (#1127) --- .github/workflows/publish.yml | 3 +++ Terminal.Gui/README.md | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 770088d4b..c8b73fd26 100644 --- a/.github/workflows/publish.yml +++ b/.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 diff --git a/Terminal.Gui/README.md b/Terminal.Gui/README.md index 1684be15a..8d4278d5e 100644 --- a/Terminal.Gui/README.md +++ b/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.