From c07698bb91f2bcfc29bf1253cbb8172fdd337d20 Mon Sep 17 00:00:00 2001 From: KasthuraiahChembeti <141396039+KasthuraiahChembeti@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:01:37 +0530 Subject: [PATCH 1/4] Update TinCanTests to .net6 Update TinCanTests to .net6 --- TinCanTests/TinCanTests.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TinCanTests/TinCanTests.csproj b/TinCanTests/TinCanTests.csproj index 8f33d49..c682207 100644 --- a/TinCanTests/TinCanTests.csproj +++ b/TinCanTests/TinCanTests.csproj @@ -1,6 +1,6 @@ - netcoreapp3.1 + net6.0 @@ -11,4 +11,4 @@ - \ No newline at end of file + From 09dffc9f35d17a43de41888a2bdadc6ed3aa46d2 Mon Sep 17 00:00:00 2001 From: KasthuraiahChembeti <141396039+KasthuraiahChembeti@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:02:19 +0530 Subject: [PATCH 2/4] Enabled test cases in release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b14d816..9879bc2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,8 +15,8 @@ jobs: uses: actions/setup-dotnet@v1 - name: Build run: dotnet build -c Release - #- name: Test - # run: dotnet test -c Release --no-build + - name: Test + run: dotnet test -c Release --no-build - name: Pack nugets run: dotnet pack -c Release --no-build --output . - name: Push to NuGet From db0a29f88fbf0e08d2033200cacad2a38e3c6faa Mon Sep 17 00:00:00 2001 From: KasthuraiahChembeti <141396039+KasthuraiahChembeti@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:04:09 +0530 Subject: [PATCH 3/4] Update TinCan version --- TinCan/TinCan.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TinCan/TinCan.csproj b/TinCan/TinCan.csproj index dd54517..c66208e 100644 --- a/TinCan/TinCan.csproj +++ b/TinCan/TinCan.csproj @@ -2,7 +2,7 @@ netstandard2.0 - 1.3.3.3 + 1.3.3.5 TinCanStandard TinCanStandard TinCanCore @@ -11,8 +11,8 @@ true https://github.com/mayuragarwal-qm/TinCan.NET git - 1.3.3.3 - 1.3.3.3 + 1.3.3.5 + 1.3.3.5 LICENSE.txt From 8cf39c406279ee24a8d1ff78663a333ab20c0ed2 Mon Sep 17 00:00:00 2001 From: KasthuraiahChembeti <141396039+KasthuraiahChembeti@users.noreply.github.com> Date: Fri, 4 Aug 2023 17:15:35 +0530 Subject: [PATCH 4/4] Update README.md related to new GitHub action Update README.md related to new GitHub action --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 11d6381..ce4b409 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Modifications done by Neal Daniel (njvsvalhalla): Changes done by Mayur Agarwal (myself): * Fix for Group object type value. (If we use group in xAPI statement, it fails because of wrong object type value) * Merged all changes from original TinCan.NET repository upto Release 1.3.0.0 +* Added GitHub action to publish to Nuget feed # Parent Project @@ -33,6 +34,15 @@ http://rusticisoftware.github.io/TinCan.NET/ For more information about the Tin Can API visit: http://tincanapi.com/ +# Generating new release and Nuget package +In Tincan.csproj file change the version number to the new release version. +Merge the pull request with your changes. +Using GitHub desktop create tag with release version on your merge commit and push the tag. +Then create release with new tag on GitHub website and publish. +GitHub action will automatically trigger a new release which will push the Nuget package to that Nuget feed. +Note that we have nuget API token saved in GitHub repositories secrets which is valid for 1 year and should renew after expiry for GitHub action to work. +To generate new token if expires please contact Mayur or transfer the release to new Nuget feed. + # Installation Include the TinCan folder in your project and reference the project.