- Repo
- cd "$HOME/path/to/your/projects/Plugin.Games"- Source
cd "$HOME/path/to/your/projects/Plugin.Games/src/Plugin.Games"- Test
cd "$HOME/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 "$HOME/Visual Studio 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 "$HOME/path/to/your/projects/Plugin.Games/src/Plugin.Games/bin/release/Plugin.Games.10.0.40.nupkg" --source "https://nuget.pkg.github.com/yourgithubusername/index.json" --api-key $GITHUBTOKEN