For each folder containing a csproj file:
currentLastHash = git log -n 1 --format="%H" -- folderName
if currentLastHash != lastPubliedHash:
// This will probably be handled manually somehow
// Not sure how to make this work with GitVersion
GetSemVerFromGitLog(folderName)
// Replace 0.0.1 by correct version on the bepinex attribute
// Same for assembly dll attribute
BuildNuPkgForCsProj(folderName)
// Replace 0.0.1 by correct version on the thunderstore toml
// Note: Need to make toml file for each csproj
BuildTsReleaseForCsProj(folderName)
// So that when the ci next time launch, we don't generate a release for nothing
// Can and should be done through github cache action
UpdateLastPubliedHash(folderName)
Not sure what was the plan for the r2api auto version gen but it'll most likely get removed entirely
Here is the CI I just cooked up as a draft
Not sure what was the plan for the r2api auto version gen but it'll most likely get removed entirely