Skip to main content

fvupgrader streamlines version upgrades in Flutter projects by automatically updating the pubspec.yaml file and tagging changes in Git. Simplify version control for your Flutter apps, packages, and plugins with this versatile tool.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fvupgrader-1.0.9.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

fvupgrader-1.0.9-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file fvupgrader-1.0.9.tar.gz.

File metadata

  • Download URL: fvupgrader-1.0.9.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for fvupgrader-1.0.9.tar.gz
Algorithm Hash digest
SHA256 895a90a7cc3342770d684e3aec9a448137d7f000aeff9a63da1d0dfc37409714
MD5 26341e4942fa0d430a7a1ac90c542505
BLAKE2b-256 bf42ef4736ffff95cf3f589cf1082e903562363ad845ce8336aa8c41c55e6dfb

See more details on using hashes here.

File details

Details for the file fvupgrader-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: fvupgrader-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for fvupgrader-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4529f6afd5a7c232e7af10ac0f9625716abad05f2a2f727070099936544e8bb4
MD5 ea238278dea1fd337714ae88b030546f
BLAKE2b-256 d3e4466f6c172bbaf6d3cf03c8706217182a87cb6df7a627ca39b7f103e17dd4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page