Skip to content

Update podspec#2175

Merged
jpsim merged 3 commits intomainfrom
update-podspec
Apr 21, 2022
Merged

Update podspec#2175
jpsim merged 3 commits intomainfrom
update-podspec

Conversation

@jpsim
Copy link
Contributor

@jpsim jpsim commented Apr 21, 2022

  • Fix summary string.
  • Automatically set version based on the contents of the VERSION file.
  • Add APPLICATION_EXTENSION_API_ONLY so Envoy Mobile can be used in app extension targets if desired.
  • Advertise support for Swift 5.6
  • Add Gemfile to pin what version of CocoaPods we use.
  • Add release_validation GitHub Action to run on PRs and main commits to validate the podspec. Other release validation checks can be added here in the future.

Risk Level: Low, we haven't pushed CocoaPods releases in over two years
Testing: CI job
Docs Changes: N/A
Release Notes: N/A

jpsim added 2 commits April 21, 2022 12:42
* Fix summary string.
* Automatically set version based on the contents of the `VERSION` file.
* Add `APPLICATION_EXTENSION_API_ONLY` so Envoy Mobile can be used in
  app extension targets if desired.
* Advertise support for Swift 5.6
* Add `Gemfile` to pin what version of CocoaPods we use.
* Add `release_validation` GitHub Action to run on PRs and `main`
  commits to validate the podspec. Other release validation checks can
  be added here in the future.

Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim marked this pull request as ready for review April 21, 2022 16:54
@jpsim jpsim requested a review from Augustyniak April 21, 2022 16:56
Augustyniak
Augustyniak previously approved these changes Apr 21, 2022
Copy link
Contributor

@Augustyniak Augustyniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Great to see this being improved. Thank you for working on this

cocoapods_lib_lint:
name: cocoapods_lib_lint
runs-on: macos-11
timeout-minutes: 120
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the timeout has to be so high? Just curious

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, just copy pasted from a different action. Reduced to 20. The last run took 5 minutes, so 4x headroom should be plenty.

Pod::Spec.new do |s|
s.name = 'EnvoyMobile'
s.version = '0.4.5'
s.version = `cat VERSION`.chomp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice. love it

Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim requested a review from Augustyniak April 21, 2022 21:43
@jpsim jpsim merged commit fde64b3 into main Apr 21, 2022
@jpsim jpsim deleted the update-podspec branch April 21, 2022 22:52
jpsim added a commit that referenced this pull request Apr 25, 2022
The version in the podspec no longer needs to be manually bumped as
of #2175.

Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim mentioned this pull request Apr 25, 2022
jpsim added a commit that referenced this pull request Apr 26, 2022
The version in the podspec no longer needs to be manually bumped as
of #2175.

Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants