New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fastlane-plugin-semantic_versioning

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastlane-plugin-semantic_versioning

  • 3.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

semantic_versioning plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-semantic_versioning, add it to your project by running:

fastlane add_plugin semantic_versioning

About semantic_versioning

Version and changelog management following semantic versioning and conventional commits.

The plugin provides two actions that have to be called in sequence, but therefore allow additional interaction with the results before an actual commit is being made.

One example could be to get the version info for the upcoming release, and when this is successful, i.e. a version bump is possible, create a release branch with that version number and change to that branch before making any changes. Then call the semantic_bump action to create the commit on the release branch, before you may want to create a pull request for the new release.

Hint: You can also use the context to upload the changelog to AppStoreConnect afterwards. See the example Fastfile for more info.

get_versioning_info

Call this in your lane to prepare a bump according to the rules. It will

  • Determine next version number
  • Build the changelog for the upcoming version bump

and provide this information in shared variables that are used in the second action.

semantic_bump

Call this to actually bump the version, write the changelog and commit everything.

Example

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane test.

Run tests for this plugin

To run both the tests, and code style validation, run

bundle exec rake

To automatically fix many of the styling issues, use

bundle exec rubocop -a

Or to start fast feedback development cycle:

bundle exec guard

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

FAQs

Package last updated on 04 Jun 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc