GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - python-telegram-bot/ptb-changelog-helper: A little something to help PTB devs with their releases.

This repository was archived by the owner on Apr 8, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

77 Commits
77 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
ptb_changelog_helper
ptb_changelog_helper
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
README.md
README.md
 
 
config.ini
config.ini
 
 
exmaple_main.py
exmaple_main.py
 
 
pyproject.toml
pyproject.toml
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements.txt
requirements.txt
 
 
setup.cfg
setup.cfg
 
 

Repository files navigation

Warning

This repo is archived, as python-telegram-bot uses chango since v22.

ptb-release-helper

A little something to help PTB devs with their releases.

Logging changes from the commit history is a tiresome process and even more so, if you need the log in different markup languages. The devs of python-telegram-bot have to fear no more!

What it does/How it's used:

  1. Install the python requirements by pip install -r requirements.txt.
  2. Save a copy of example_main.py as main.py and fill in your configurations:
    • new_version: The version that you are about to release
    • github_token: A GitHub GraphQL token with read access to the PTB organisation
    • bot_token: A Telegram Bot token
    • telegram_chat_id: A chat ID the bot can send messages to, preferably yours
    • ptb_dir: The path to your local clone of the PTB repository
  3. Run python main.py. This fetches the current changelog and guides you through the next steps. In the end, you will have a message on Telegram ready to be copied to the PTB channel and the PTB repository will be ready for the release commit.

That's it. Happy releasing! 🙂

About

A little something to help PTB devs with their releases.

Resources

Readme
Activity
Custom properties

Stars

4 stars

Watchers

7 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.