#!/usr/bin/env bash

# This script is supposed to be run by cargo-release.
# It updates the changelog as necessary.

set -euo pipefail
cd $WORKSPACE_ROOT

towncrier build --name Continuwuity --version v$NEW_VERSION --date "$(date -I)"

"`dirname $0`"/linkify-changelog.py
