- Update HISTORY.rst
- Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
#!/bin/sh | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' |
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
import os | |
def filterAlpha(a): | |
return a.isalpha() | |
def generate(size) : | |
# files = ['desolation-row.txt', 'english.txt', 'storm-of-swords.txt', 'communist-manifesto.txt'] | |
f = open('english.txt', 'r') | |
o = open('english'+str(size)+'.txt', 'w') | |
lines = f.readlines() |