-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
121 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Changelog | ||
|
||
## [Unreleased](https://github.com/babylonchain/covenant-emulator/tree/HEAD) | ||
|
||
[Full Changelog](https://github.com/babylonchain/covenant-emulator/compare/v0.1.0...HEAD) | ||
|
||
**Merged pull requests:** | ||
|
||
- chore: Bump Babylon v0.8.0 [\#17](https://github.com/babylonchain/covenant-emulator/pull/17) ([gitferry](https://github.com/gitferry)) | ||
- Bumps babylon to latest version [\#16](https://github.com/babylonchain/covenant-emulator/pull/16) ([KonradStaniec](https://github.com/KonradStaniec)) | ||
- feat: Allow the covenant emulator to submit signatures in batches [\#15](https://github.com/babylonchain/covenant-emulator/pull/15) ([vitsalis](https://github.com/vitsalis)) | ||
- CI: Remove redundant SSH key logic [\#14](https://github.com/babylonchain/covenant-emulator/pull/14) ([filippos47](https://github.com/filippos47)) | ||
- chore: Remove dependency on finality-provider [\#13](https://github.com/babylonchain/covenant-emulator/pull/13) ([gitferry](https://github.com/gitferry)) | ||
- chore: Remove private repo thingy [\#11](https://github.com/babylonchain/covenant-emulator/pull/11) ([gitferry](https://github.com/gitferry)) | ||
|
||
## [v0.1.0](https://github.com/babylonchain/covenant-emulator/tree/v0.1.0) (2024-02-08) | ||
|
||
[Full Changelog](https://github.com/babylonchain/covenant-emulator/compare/v0.1.0-rc.0...v0.1.0) | ||
|
||
**Implemented enhancements:** | ||
|
||
- Cycle dependency with finality-provider [\#9](https://github.com/babylonchain/covenant-emulator/issues/9) | ||
|
||
## [v0.1.0-rc.0](https://github.com/babylonchain/covenant-emulator/tree/v0.1.0-rc.0) (2024-01-22) | ||
|
||
[Full Changelog](https://github.com/babylonchain/covenant-emulator/compare/5187e721981f61e36012e183af9171068d9b2544...v0.1.0-rc.0) | ||
|
||
**Closed issues:** | ||
|
||
- Log directory won't be created automatically if not existing [\#3](https://github.com/babylonchain/covenant-emulator/issues/3) | ||
|
||
**Merged pull requests:** | ||
|
||
- chore: Upgrade bbn to 0.8.0-rc.0 [\#12](https://github.com/babylonchain/covenant-emulator/pull/12) ([vitsalis](https://github.com/vitsalis)) | ||
- chore: Prepare public release [\#7](https://github.com/babylonchain/covenant-emulator/pull/7) ([gitferry](https://github.com/gitferry)) | ||
- chore: Bump babylon with checking of slashing time lock [\#6](https://github.com/babylonchain/covenant-emulator/pull/6) ([gitferry](https://github.com/gitferry)) | ||
- doc: Add initial documentation of covenant emulator [\#5](https://github.com/babylonchain/covenant-emulator/pull/5) ([gitferry](https://github.com/gitferry)) | ||
- chore: Fix directory permission when `init` [\#4](https://github.com/babylonchain/covenant-emulator/pull/4) ([gitferry](https://github.com/gitferry)) | ||
- chore: display the error when failing to load docs [\#2](https://github.com/babylonchain/covenant-emulator/pull/2) ([vitsalis](https://github.com/vitsalis)) | ||
- Init covenant emulator [\#1](https://github.com/babylonchain/covenant-emulator/pull/1) ([gitferry](https://github.com/gitferry)) | ||
|
||
|
||
|
||
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
#!/bin/bash | ||
# This is a wrapper around `github_changelog_generator` (https://github.com/github-changelog-generator) | ||
# to simplify / automate updating of the CHANGELOG.md file. | ||
# | ||
# Originally developed for CosmWasm cw_plus (https://github.com/CosmWasm/cw-plus) repository. | ||
set -o errexit -o pipefail | ||
|
||
ORIGINAL_OPTS=$* | ||
# Requires getopt from util-linux 2.37.4 (brew install gnu-getopt on Mac) | ||
OPTS=$(getopt -l "help,release-branch:,since-tag:,future-release:,full,token:" -o "hft" -- "$@") || exit 1 | ||
|
||
function print_usage() { | ||
echo -e "Usage: $0 [-h|--help] [-f|--full] [--release-branch <branch>] [--since-tag <tag>] [--future-release] <tag> [-t|--token <token>] | ||
-h, --help Display help | ||
-f, --full Process changes since the beginning (by default: since latest git version tag) | ||
--since-tag <tag> Process changes since git version tag <tag> (by default: since latest git version tag) | ||
--future-release <tag> Put the unreleased changes in the specified <tag> | ||
--release-branch <branch> Limit pull requests to the release branch <branch>. | ||
--token <token> Pass changelog github token <token>" | ||
} | ||
|
||
function remove_opt() { | ||
ORIGINAL_OPTS=$(echo "$ORIGINAL_OPTS" | sed "s/\\B$1\\b//") | ||
} | ||
|
||
eval set -- "$OPTS" | ||
while true | ||
do | ||
case $1 in | ||
-h|--help) | ||
print_usage | ||
exit 0 | ||
;; | ||
--since-tag) | ||
shift | ||
TAG="$1" | ||
;; | ||
-f|--full) | ||
TAG="<FULL>" | ||
remove_opt $1 | ||
;; | ||
--) | ||
shift | ||
break | ||
;; | ||
esac | ||
shift | ||
done | ||
|
||
# Get user and repo from ./.git/config | ||
ORIGIN_URL=$(git config --local remote.origin.url) | ||
GITHUB_USER=$(echo $ORIGIN_URL | sed -n 's#.*:\([^\/]*\)\/.*#\1#p') | ||
echo "Github user: $GITHUB_USER" | ||
GITHUB_REPO=$(echo $ORIGIN_URL | sed -n 's#.*/\([^.]*\).*#\1#p') | ||
echo "Github repo: $GITHUB_REPO" | ||
|
||
if [ -z "$TAG" ] | ||
then | ||
# Use latest git version tag | ||
TAG=$(git tag --sort=creatordate | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+' | tail -1) | ||
ORIGINAL_OPTS="$ORIGINAL_OPTS --since-tag $TAG" | ||
fi | ||
|
||
echo "Git version tag: $TAG" | ||
|
||
touch CHANGELOG.md | ||
cp CHANGELOG.md /tmp/CHANGELOG.md.$$ | ||
# Consolidate tag for matching changelog entries | ||
TAG=$(echo "$TAG" | sed -e 's/-\([A-Za-z]*\)[^A-Za-z]*/-\1/' -e 's/-$//') | ||
echo "Consolidated tag: $TAG" | ||
sed -i -n "/^## \\[${TAG}[^]]*\\]/,\$p" CHANGELOG.md | ||
|
||
echo github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS || cp /tmp/CHANGELOG.md.$$ CHANGELOG.md | ||
github_changelog_generator -u $GITHUB_USER -p $GITHUB_REPO --base CHANGELOG.md $ORIGINAL_OPTS || cp /tmp/CHANGELOG.md.$$ CHANGELOG.md | ||
|
||
rm -f /tmp/CHANGELOG.md.$$ |