Skip to content

Rome upload does not accept repository name (if differs from framework name) #30

Description

@erichoracek

Current behavior

Cartfile:

github "bitstadium/HockeySDK-iOS"

Romefile:

[RepositoryMap]
    HockeySDK-iOS = HockeySDK

When building with Carthage:

$ carthage build HockeySDK-iOS --platform ios
*** Building scheme "HockeySDK Framework" in HockeySDK.xcodeproj

The following is produced: Cartage/Build/iOS/HockeySDK.framework*

However, unlike Carthage, the repo name does not work when passed to rome upload

$ rome upload HockeySDK-iOS
(nothing uploaded)

If the Framework name is specified, it does work:

$ rome upload HockeySDK
Successfully uploaded HockeySDK to: HockeySDK/HockeySDK.framework-4.1.2.zip
Successfully uploaded HockeySDK.dSYM to: HockeySDK/HockeySDK.framework.dSYM-4.1.2.zip

As such, rome upload doesn't function the same way as Carthage, which is what users would expect in this scenario (repository names are provided, not framework names)

Expected behavior

The upload command should take repository names, not framework names.

Rome version: 0.6.0.10
OS macOS sierra 10.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions