Skip to content

Commit

Permalink
Merge pull request #1082 from nunit/issue-1078
Browse files Browse the repository at this point in the history
Stop publishing -pre builds on MyGet
  • Loading branch information
CharliePoole authored Jan 4, 2022
2 parents 907ceec + 73f184e commit 9a4a55e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -551,12 +551,12 @@ Task("PublishToChocolatey")
if (package.PackageType == PackageType.Chocolatey)
try
{
PushChocolateyPackage(PACKAGE_DIR + package.PackageName, apiKey, CHOCO_PUSH_URL);
}
catch (Exception)
{
HadPublishingErrors = true;
}
PushChocolateyPackage(PACKAGE_DIR + package.PackageName, apiKey, CHOCO_PUSH_URL);
}
catch (Exception)
{
HadPublishingErrors = true;
}
}
});

Expand Down
2 changes: 1 addition & 1 deletion cake/constants.cake
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private const string GITHUB_REPO = "nunit-console";
private const string GITHUB_ACCESS_TOKEN = "GITHUB_ACCESS_TOKEN";

// Pre-release labels that we publish
private static readonly string[] LABELS_WE_PUBLISH_ON_MYGET = { "dev", "pre" };
private static readonly string[] LABELS_WE_PUBLISH_ON_MYGET = { "dev" };
private static readonly string[] LABELS_WE_PUBLISH_ON_NUGET = { "alpha", "beta", "rc" };
private static readonly string[] LABELS_WE_PUBLISH_ON_CHOCOLATEY = { "alpha", "beta", "rc" };
private static readonly string[] LABELS_WE_RELEASE_ON_GITHUB = { "alpha", "beta", "rc" };

0 comments on commit 9a4a55e

Please sign in to comment.