- Repo
- cd "C:\Users\path\to\your\projects\Plugin.Games"- Nuget
cd "C:\Users\path\to\your\projects\Plugin.Games\src\Plugin.Games"- Test
cd "C:\Users\path\to\your\projects\Plugin.Games\src\GamesTests\GamesMauiTest"Restore
dotnet restore "src"Clean
dotnet clean "src"Build
dotnet build "src"Build Nuget
dotnet build "src\Plugin.Games\Plugin.Games.csproj"Build Nuget Release
dotnet build "src\Plugin.Games\Plugin.Games.csproj" -c releaseBuild Test
dotnet build "src\GamesTests\GamesMauiTest\GamesTest.csproj"Build Test Release
dotnet build "src\GamesTests\GamesMauiTest\GamesTest.csproj" -c release- Navigate to the directory
cd "C:\Users\path\to\your\projects\Plugin.Games"- Check the remote for changes.
git fetch
git status- Pull any pending commits if behind
git pull- Verify local repo is up to date against remote repo.
git status- Add Changes to the local repo.
git add .- Commit changes
git commit -m "Initial commit with project files"- Verify on main branch
git branch -m main- Push commit to the remote repo
git push -u origin maindotnet nuget push "C:\Users\path\to\your\projects\Plugin.Games\b\Release\Plugin.Games.10.0.40.nupkg" --source "https://nuget.pkg.github.com/yourgithubusername/index.json" --api-key $env:GITHUBTOKEN