Skip to content

Commit

Permalink
Add post-release script to add an empty unreleased entry in the chang…
Browse files Browse the repository at this point in the history
…elog (#1582)
  • Loading branch information
iker-barriocanal authored Jul 2, 2021
1 parent 629e2d9 commit 9ccf4ec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/post-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
set -eux

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/..

OLD_VERSION="${1}"
NEW_VERSION="${2}"

# Add a new unreleased entry in the changelog
sed -i "" 's/# Changelog/# Changelog\n\n## Unreleased/' CHANGELOG.md

0 comments on commit 9ccf4ec

Please sign in to comment.