-
Determine the new release number, like
1.7.0and search and replace the previous version number with it in this file. -
Verify that the tests pass:
xcodebuild test -scheme ScrollingContentViewControllerTests -sdk iphonesimulator16.4 -destination "OS=16.4,name=iPhone 14"
-
In
Sources > Info.plist, updateBundle version stringwith the new release number. -
In
ScrollingContentViewController.podspec, updates.versionwith the new release number. -
Verify that the Swift package file is valid:
swift package describe
- Verify that the Cocoapods spec file is valid:
pod lib lint
- Commit the updated release number and Cocopods spec file:
git add -A && git commit -m "Release 1.7.0"
git push
- Create a tag for the new release. For consistency, do not prefix tags with 'v'.
git tag '1.7.0'
git push --tags
- Submit the new release to the Cocoapods specs repo:
pod trunk push ScrollingContentViewController.podspec
If that doesn't work, first follow the steps at https://guides.cocoapods.org/making/getting-setup-with-trunk.html
using the email address in ScrollingContentViewController.podspec to register the local device with the Cocoapods trunk.
pod trunk register drew@retroactivefiasco.com 'Drew Olbrich' --description='MacBook Pro'
-
Draft a new release on GitHub at https://github.com/drewolbrich/ScrollingContentViewController/releases
-
For the new release, use the release number 1.7.0 as the title and prefix each item in the description with bullets, indicated by '*'.
-
Leave Set as the latest release checked and click Publish.