Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions TinCan/TinCan.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>1.3.3.3</Version>
<Version>1.3.3.5</Version>
<PackageId>TinCanStandard</PackageId>
<Product>TinCanStandard</Product>
<Title>TinCanCore</Title>
Expand All @@ -11,8 +11,8 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<RepositoryUrl>https://github.com/mayuragarwal-qm/TinCan.NET</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<AssemblyVersion>1.3.3.3</AssemblyVersion>
<FileVersion>1.3.3.3</FileVersion>
<AssemblyVersion>1.3.3.5</AssemblyVersion>
<FileVersion>1.3.3.5</FileVersion>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions TinCanTests/TinCanTests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
Expand All @@ -11,4 +11,4 @@
<ItemGroup>
<ProjectReference Include="..\TinCan\TinCan.csproj" />
</ItemGroup>
</Project>
</Project>