
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@ridenui/semantic-release-cocoapods
Advanced tools
Cocoapods publishing plugin for semantic-release fork
semantic-release plugin to publish a cocoapods package.
Step | Description |
---|---|
verifyConditions | Verify pod command exists, COCOAPODS_TRUNK_TOKEN environment variable is set, pod trunk me is successful. Run pod lib lint to verify the pod is ready to publish. |
prepare | Update the podspec version. |
publish | Publish the cocoapods pod to the registry. |
$ npm install semantic-release-cocoapods -D
First, make sure that cocoapods is installed on your machine.
The plugin is recommended be configured in the semantic-release configuration file. This is because this plugin must exist after @semantic-release/github. Cocoapods requires a GitHub tag exists to make a release.
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"semantic-release-cocoapods"
]
}
The npm authentication configuration is required and can be set via environment variables.
To use this plugin and ultimately publish a cocoapods package, you must set these environment variables.
Variable | Description |
---|---|
COCOAPODS_TRUNK_TOKEN | Created token to push pod to cocoapods.org. |
Options | Description | Default |
---|---|---|
podLint | Whether to lint the pod or not. | true |
podLintArgs | Extra arguments to pass to pod lib lint | |
podPushArgs | Extra arguments to pass to pod trunk push |
Here is an example on how to set options
{
"plugins": [
"@semantic-release/github",
["semantic-release-cocoapods", {
"podLint": false,
"podLintArgs": "--allow-warnings",
}]
]
}
FAQs
Cocoapods publishing plugin for semantic-release fork
We found that @ridenui/semantic-release-cocoapods demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.