Skip to content

Commit

Permalink
add script to create a CHANGELOG.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
gsunner committed Feb 5, 2018
1 parent c786e14 commit 2319454
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions create-changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

set -o nounset
set -o errexit
set -o pipefail

STARTUP_DIR="$( cd "$( dirname "$0" )" && pwd )"

if [[ $# < 1 ]]; then
echo "Need GITHUB_PERSONAL_TOKEN"
exit 1
fi

GITHUB_PERSONAL_TOKEN=$1

docker run --rm -it \
-v $STARTUP_DIR:/work \
-w /work ruby \
bash -c "set -x && gem install github_changelog_generator && github_changelog_generator --token ${GITHUB_PERSONAL_TOKEN} --release-branch release-0.1 SeldonIO/seldon-core"

0 comments on commit 2319454

Please sign in to comment.