Skip to content

Commit

Permalink
Copy update_changelog.sh from certificate-transparency-go
Browse files Browse the repository at this point in the history
Copies over improvements made to that version of the script.
Only edit was to change the "github-release -r" flag from
"certificate-transparency-go" to "trillian".
  • Loading branch information
Rob Percival committed Aug 7, 2018
1 parent 2ae3135 commit 9ea17df
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions scripts/update_changelog.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
#! /bin/bash
#!/bin/bash
#
# Run this script from the top level directory of the trillian repo e.g.
# Run this script from the top level directory of the ct-go repo e.g.
# with scripts/update_changelog.sh.
#
# GOPATH must be set.

set +e
d=${GOPATH[0]}

# Get and build the correct branch that includes markdown output
# TODO(Martin2112): replace with upstream repo if/when aktau/github-release#81 is merged
go install github.com/Martin2112/github-release
# Get and build the correct fork that includes markdown output.
# TODO(Martin2112): replace with upstream repo if/when aktau/github-release#81
# is merged.
go get -u github.com/Martin2112/github-release

# Generate the changelog
${d}/bin/github-release info -r trillian -u google --markdown > CHANGELOG.md
# Generate the changelog.
github-release info \
-r trillian \
-u google \
--markdown > CHANGELOG.md

0 comments on commit 9ea17df

Please sign in to comment.