Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
fastlane-plugin-flutter_versioner
Advanced tools
This project is a fastlane plugin. To get started with fastlane-plugin-flutter_versioner
, add it to your project by running:
fastlane add_plugin flutter_versioner
Flutter versioner is a powerful fastlane plugin designed to simplify the management of flutter project version. With this you can easily update project version to any specified major,minor,or patch level as well as adjust the version code/build number.
flutter_versioner(pubspec_file_path:"../pubspec.yaml",
version_component:"major"
)
pubspec_file_path - relative path to the pubspec file where the version is maintained
version_component - the component of version that need to be modified - major.minor.patch+version_code
Values
value - the value given will be used to set the given version component. If value
is not given the version compenent will be incremented by 1
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
.
eg 1.1.1+1 -> 1.1.1+2
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
version_component:"version_code")
if you dont specify version_component
version_code will the default value
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
value:"9")
value
giveneg 1.1.1+1 -> 1.1.1+100
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
value:"100",
version_component:"version_code")
eg 1.1.1 -> 1.1.2
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
version_component:"patch")
value
giveneg 1.1.1 -> 1.1.100
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
value:"100",
version_component:"patch")
eg 1.1.1 -> 1.2.0
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
version_component:"minor")
value
given (also reset patch to 0)eg 1.1.1 -> 1.100.0
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
value:"100",
version_component:"minor")
eg 1.1.1 -> 2.0.0
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
version_component:"major")
value
given (also reset minor and patch)eg 1.1.1 -> 100.0.0
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
value:"100",
version_component:"major")
value
giveneg 1.1.1+1 -> 2.3.4+1
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
value:"2.3.4",
version_component:"version_name")
value
giveneg 1.1.1+1 -> 2.3.4+5
flutter_versioner(pubspec_file_path:"./example/pubspec.yaml",
value:"2.3.4+5",
version_component:"version")
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.
Abhijith Konnayil
GitHub: abhijithkonnayil
LinkedIn: abhijithkonnayil
Website: abhijith.web.app
FAQs
Unknown package
We found that fastlane-plugin-flutter_versioner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.