Skip to content

Instantly share code, notes, and snippets.

View CCampJr's full-sized avatar

Charles CCampJr

View GitHub Profile
@CCampJr
CCampJr / gist:711b7cc8c9faeb5ed6899ee71343a203
Last active August 3, 2022 17:01
CRIkit Release Protocol

Simplified

  1. git checkout dev
  2. git pull --all
  3. Change version number in init.py NEW VERSION
  4. Change shields and badges in README and index.rst (docs) to point to master branch
  5. git merge master
  6. Commit changes (if needed)
  7. git push
  8. Wait for CI build to complete
  9. git checkout master
@CCampJr
CCampJr / Backup_Repos.sh
Created July 6, 2018 22:06
Bash script to search for git repos in a directory, check last backup date, bundle if necessary, and copy to 2 backup locations
#!/bin/sh
# COMMENT
DAY=`date +"%Y%m%d-%H-%M"`
# Directory to find Repos
DIR=/cygdrive/c/Users/chc/Documents/Python/
DESTINATION=E:/ReposBackup/
NETWORKDEST=X:/ReposBackup/
@CCampJr
CCampJr / Release.md
Last active November 29, 2021 16:35
Release steps and checklist

VERSION = 0.1.0 (Version of repo to be published)

DATE = 190522

New python build and twine steps

  1. pip install build
  2. pip install twine
  3. python -m build
  4. twine upload ./dist/*