Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed superfluous removing of extension.

This causes problems since there is not supposed to be an extension anyway. Removing an extension from DTCoreText-1.2 causes the package name to be become DTCoreText-1.xar which is wrong.

Fixes #338
  • Loading branch information...
commit 09ebc6a26f9ba0b8fd57b422387a049d60989d44 1 parent 81cf405
@Cocoanetics Cocoanetics authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  Generating/GBDocSetPublishGenerator.m
View
3  Generating/GBDocSetPublishGenerator.m
@@ -28,7 +28,6 @@ - (BOOL)generateOutputWithStore:(id)store error:(NSError **)error {
// Get the path to the installed documentation set and extract the name. Then replace the name's extension with .xar.
NSString *inputDocSetPath = self.inputUserPath;
- NSString *packageName = [self.settings.docsetPackageFilename stringByDeletingPathExtension];
NSString *atomName = self.settings.docsetAtomFilename;
NSString *xmlName = self.settings.docsetXMLFilename;
NSString *installedDocSetPath = inputDocSetPath;
@@ -46,7 +45,7 @@ - (BOOL)generateOutputWithStore:(id)store error:(NSError **)error {
// Prepare command line arguments for packaging.
NSString *outputDir = self.outputUserPath;
- NSString *outputDocSetPath = [outputDir stringByAppendingPathComponent:packageName];
+ NSString *outputDocSetPath = [outputDir stringByAppendingPathComponent:self.settings.docsetPackageFilename];
NSString *outputAtomPath = [outputDir stringByAppendingPathComponent:atomName];
NSString *outputXMLPath = [outputDir stringByAppendingPathComponent:xmlName];
NSString *signer = self.settings.docsetCertificateSigner;
Please sign in to comment.
Something went wrong with that request. Please try again.