[chocolatey] skip updating bucket if remoteBuild is false. Fixes
@@ -77,9 +77,13 @@ public class ChocolateyPackagerProcessor extends AbstractRepositoryPackagerProce
@Override
protected void doPublishDistribution(Distribution distribution, Map<String, Object> props) throws PackagerProcessingException {
+ if (packager.isRemoteBuild()) {
super.doPublishDistribution(distribution, props);
+ return;
+ }
- if (packager.isRemoteBuild()) {
+ if (context.isDryrun()) {
+ context.getLogger().error(RB.$("dryrun.set"));
return;
}
