Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
MakesYT committed Apr 10, 2024
1 parent 923225b commit f71f014
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ class Build : NukeBuild
{
Log.Debug( "Restoring solution {0}", Solution);
Log.Debug("Restoring project {0}", AvaloniaProject);
GitTasks.Git("rm KitopiaWeb");
GitTasks.Git("submodule foreach git pull");
GitTasks.Git("submodule update --init --recursive --remote");

GitTasks.Git("submodule update --init --recursive --remote");

DotNetRestore(c => new DotNetRestoreSettings()
.SetProjectFile(AvaloniaProject.Path));
DotNetRestore(c => new DotNetRestoreSettings()
Expand Down Expand Up @@ -91,6 +93,7 @@ class Build : NukeBuild
{
Credentials = new Credentials(GitHubToken)
};

var readOnlyList = _gitHubClient.Repository.GetAllTags(gitRepository.GetGitHubOwner(), gitRepository.GetGitHubName()).Result;
if (readOnlyList.Any(e=>e.Name==AvaloniaProject.GetProperty("Version")))
{
Expand Down

0 comments on commit f71f014

Please sign in to comment.