radarlabs / radar-sdk-ios

iOS SDK for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
68 stars 27 forks source link

add set version script #407

Open ShiCheng-Lu opened 2 weeks ago

ShiCheng-Lu commented 2 weeks ago

There are two components of this PR, improved CI checks, and version updating script.

  1. Improved CI checks.

    • adding a check to make sure both versions do not exist in pod yet
    • lint both SDKs before uploading either This should make sure that if CI passes, both are successfully uploaded, and if CI fails, neither are uploaded.
  2. version updating script.

    • this script does everthing in the iOS version bump/release document in notion, I believe running the script will overall result in less version bumping mistakes than doing it by hand every time. Of course it's still recommended to follow through the document and check the changes in git.

(There was no documentation on bumping MotionSDK in notion, which should have been there, I've updated the notion document)