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-push

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-1.0.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

goal-1.0.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for goal-1.0.0.tar.gz
Algorithm Hash digest
SHA256 73bbc5815fe1d86558af851f0b917821e163c34444ca98287616db5265e6f1f5
MD5 e37bd38bb1d57ab1c1af95ee957a2cc0
BLAKE2b-256 d63e1aaac07673c9bfec4e7e63da7944a58e26ddbf1b13eb8d24776354cad231

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for goal-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3da66faa7dee5a2c87505c7f3bfe61ec32e0a185bf08fce24246bb37b06fc739
MD5 4020d4baf6e0ce4bec511ddabcedf757
BLAKE2b-256 de151a8b8fae2e16d85788cc285c194df37de66d80610b5d58d1ecbe8d0b79bc

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