Skip to content

RedHatQE/python-utility-scripts

Repository files navigation

python-utility-scripts

Repository for various python utility scripts

Installation

pip3 install python-utility-scripts --user

Local run

git clone https://github.com/RedHatQE/python-utility-scripts.git
poetry install

Config file

A config yaml file for various utilities of this repository should be added to ~/.config/python-utility-scripts/config.yaml. Script specific config section details can be found in associated script README.md

Release new version

requirements:

  • Export GitHub token
export GITHUB_TOKEN=<your_github_token>
  • release-it

  • Run the following once (execute outside repository dir for example ~/):

sudo npm install --global release-it
npm install --save-dev @j-ulrich/release-it-regex-bumper
rm -f package.json package-lock.json

usage:

  • Create a release, run from the relevant branch. To create a new release, run:
git checkout main
git pull
release-it # Follow the instructions