Skip to main content

Automated git push with smart commit messages, changelog updates, and version tagging

Project description

Goal

Automated git push with smart commit messages, changelog updates, and version tagging.

Installation

pip install goal

Usage

Initialize a repository

goal init

Creates VERSION and CHANGELOG.md files if they don't exist.

Push changes

goal push

This will:

  1. Stage all changes (git add -A)
  2. Generate a smart commit message based on changed files
  3. Update CHANGELOG.md with the changes
  4. Bump the version in VERSION file
  5. Create a git tag
  6. Push to remote with tags

Options

goal push --bump minor    # Bump minor version instead of patch
goal push --bump major    # Bump major version
goal push --no-tag        # Skip creating git tag
goal push --no-changelog  # Skip updating changelog
goal push -m "message"    # Use custom commit message
goal push --dry-run       # Show what would happen without doing it

Other commands

goal status   # Show current git status and version info
goal version  # Show current and next version

Makefile integration

Replace your manual push target with:

push:
	goal push

License

MIT

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

goal-2.0.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goal-2.0.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file goal-2.0.0.tar.gz.

File metadata

  • Download URL: goal-2.0.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for goal-2.0.0.tar.gz
Algorithm Hash digest
SHA256 1030ae6a408b270d327eeb751854fde27233b08b27cd72196c3ffc4422e578c3
MD5 f8aa62dba286df41d92d747958969fba
BLAKE2b-256 3e2f3db3923201a83a005d931a948c6f2880a1d3c4fa10a3cbaacc6addc14075

See more details on using hashes here.

File details

Details for the file goal-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: goal-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for goal-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0732d03bd60fcf0e72b0bc4d13d52c21c98148203f15e93cb38529a542e5cc61
MD5 ca035f0542f37f8f05629cb0beb54bdb
BLAKE2b-256 fc5b3174d487d5d6739ed4af71622e704aab36a8465c75c588f789b79606f207

See more details on using hashes here.

Supported by

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