- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
#!/usr/bin/env python | |
#-*- coding:utf-8 -*- | |
import datetime | |
from flask import Flask | |
from mixins import db | |
from models import Post, User |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
# Alternatively don't use slog but something else. I just like that more. | |
[aliases] | |
slog = log --pretty=format:"%C(auto,yellow)%h%C(auto)%d\\ %C(auto,reset)%s\\ \\ [%C(auto,blue)%cn%C(auto,reset),\\ %C(auto,cyan)%ar%C(auto,reset)]" | |
addprx = "!f() { b=`git symbolic-ref -q --short HEAD` && \ | |
git fetch origin pull/$1/head:pr/$1 && \ | |
git fetch -f origin pull/$1/merge:PR_MERGE_HEAD && \ | |
git rebase --onto $b PR_MERGE_HEAD^ pr/$1 && \ | |
git branch -D PR_MERGE_HEAD && \ | |
git checkout $b && echo && \ | |
git diff --stat $b..pr/$1 && echo && \ |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Aaa struct { | |
a string | |
} |
[alias] | |
fetch-pr = "!f() { git fetch origin refs/pull/$1/head:pr/$1; } ; f" | |
delete-prs = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done" |
gem install travis
ssh-keygen -t rsa -b 4096 -f 'github_deploy_key' -N ''
cat github_deploy_key.pub
copy public key and set as a deploy key on github e.g https://github.com///settings/keys
import collections | |
import datetime | |
import logging | |
from goblin import properties | |
logger = logging.getLogger(__name__) | |
CARD_MAPPING = {'Cardinality.single': 'Cardinality.SINGLE', |
Note on Oct 4, 2018: due to a change in Homebrew's brew test-bot
behaviour, the user must set HOMEBREW_TRAVIS_CI
and HOMEBREW_TRAVIS_SUDO
appropriately (it was previously using Travis-CI-provided TRAVIS
and TRAVIS_SUDO
).
This tutorial is a follow-up to the discussion we had on davidchall/homebrew-hep#114.
It relies on a fork of the test-bot
provided by davidchall; you can get it with brew tap maelvalais/test-bot
.
First:
https://github.com//homebrew-
with the following treeexport OP_ACCOUNT=yunojuno.1password.com | |
# Create .env.local if it does not exist | |
if [ ! -f .env.local ] | |
then | |
echo "Creating .env.local" | |
cat <<EOF > .env.local | |
# Place secret env variables from 1Password and custom overrides here | |
# | |
# Any variables here will override ones set in .env.native.dist |