Skip to main content

Flutter Version Upgrader (fvupgrader)

Pylint Upload Python Package PyPI version

This is a Python script that automates the process of upgrading the version of a Flutter project. It updates the version in the pubspec.yaml file, commits the changes, tags the release, and pushes the changes to the remote repository.

Features

  • Automatically increments the major, minor, or patch version of your Flutter project.
  • Commits the version change to your Git repository.
  • Tags the new version in your Git repository.
  • Pushes the changes to your remote Git repository.

Usage

  1. Ensure you have Python 3 installed on your machine.
  2. Clone this repository or download the fvupgrader.py file.
  3. Navigate to the directory containing the fvupgrader.py file in your terminal.
  4. Run the script with the --path argument pointing to your Flutter project:
python fvupgrader.py --path /path/to/flutter/project

Replace /path/to/flutter/project with the actual path to your Flutter project. If you don't provide the --path argument, the script will use the current directory (.) as the default.

Installation

You can download the fvupgrader.py script directly from the repository:

curl -O https://raw.githubusercontent.com/emiliodallatorre/cepheus-fvupgrader-python/main/fvupgrader.py

To install it, move the downloaded script to /usr/local/bin:

sudo mv fvupgrader.py /usr/local/bin/fvupgrader

After moving the script, you can run it from anywhere on your system by typing fvupgrader in your terminal.

Requirements

  • Python 3
  • Git

Note

This script assumes that your Flutter project's version follows the pattern major.minor.patch+build in the pubspec.yaml file.

Metadata

Release files for fvupgrader 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fvupgrader 1.0.9
File Size Uploaded Provenance Actions
fvupgrader-1.0.9.tar.gz 3.6 kB Without provenance Details for fvupgrader-1.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fvupgrader 1.0.9
File Interpreter ABI Platform Actions
fvupgrader-1.0.9-py3-none-any.whl Python 3 none any Details for fvupgrader-1.0.9-py3-none-any.whl

Total release size: 7.9 kB

Release files / fvupgrader-1.0.9.tar.gz

Download URL fvupgrader-1.0.9.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
895a90a7cc3342770d684e3aec9a448137d7f000aeff9a63da1d0dfc37409714
BLAKE2b-256 checksum
How to use checksums
bf42ef4736ffff95cf3f589cf1082e903562363ad845ce8336aa8c41c55e6dfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / fvupgrader-1.0.9-py3-none-any.whl

Download URL fvupgrader-1.0.9-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4529f6afd5a7c232e7af10ac0f9625716abad05f2a2f727070099936544e8bb4
BLAKE2b-256 checksum
How to use checksums
d3e4466f6c172bbaf6d3cf03c8706217182a87cb6df7a627ca39b7f103e17dd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Security for fvupgrader 1.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page