- 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
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
- name: ensure github.com is a known host | |
lineinfile: | |
dest: /root/.ssh/known_hosts | |
create: yes | |
state: present | |
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
regexp: "^github\\.com" |
from django.core import serializers | |
import os | |
def loaddata(fixture_name, apps, ignorenonexistent=True): | |
""" | |
Loads migrations that work at current state of a model, in constrast to | |
`loaddata` which requires a fixture to have data matching the fields | |
defined in `models.py`. |
from flask import Flask | |
from blueprint import sample | |
app = Flask(__name__) | |
app.register_blueprint(sample) | |
app.config['SOMETHING'] = 'something' | |
if __name__ == '__main__': | |
app.run() |