Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.16 KB

RELEASE.md

File metadata and controls

52 lines (34 loc) · 1.16 KB

Release process

Shipping a new version

Once we have a build on master we want to publish:

  1. Bump the CardScan.podspec with the new version of our library

  2. Run CardScan systems iOS test. Make sure to watch the videos to double check that everything looks good.

  3. If a new file is added in CardScan/, run pod install and commit the newly created Pod/ directory

  4. Verify Carthage build is working in the same directory as .xcodeproj

    carthage build --no-skip-current
    • If you get the error: no shared framework schemes, reclick shared on the project schemes in xcode.
  5. Run the Cocoapods linter to make sure that everything is going to pass

    pod lib lint
  6. Tag release

    git tag <version>
    git push --tags
  7. Publish to CocoaPods

    pod trunk push

Bumping a model

  1. Put the new model in the OriginalModels directory

  2. Remove the old compiled version from the resources directory

    rm -rf CardScan/Assets/FindFour.mlmodelc
  3. Compile the new model

    xcrun coremlc compile OriginalModels/FindFour.mlmodel CardScan/Assets