Commit 96136804 authored by Mateusz Loskot's avatar Mateusz Loskot

Add utility to generate from GitHub

[ci skip]
parent 0621bd61
#!/bin/bash -e
# Generates for SOCI project.
# Runs github-changelog-generator to automatically generate changelog
# from your tags, closed issues and merged pull requests.
# Requirements:
# -
# Copyright (c) 2017 Mateusz Loskot <>
if [[ -z "$CHANGELOG_GITHUB_TOKEN" ]]; then
echo "Environment variable CHANGELOG_GITHUB_TOKEN not found!" >&2
echo "GitHub API token is required to avoid hitting limit of requests per hour." >&2
exit 1
if ! type "github_changelog_generator" > /dev/null; then
echo "github_changelog_generator not found." >&2
echo "Go to"
exit 1
github_changelog_generator --verbose --date-format "%Y-%m-%d"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment