-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the release process with release notes instructions
* Mention isovalent/tetragon-github-tools which we started using for generating release notes * Add a script and instructions for publishing upgrade notes Signed-off-by: Anna Kapuscinska <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
4 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
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,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
if [ -z "$1" ] || [[ ! $1 =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then | ||
echo "USAGE: ./contrib/update-upgrade-notes.sh vX.Y.Z" | ||
exit 1 | ||
fi | ||
|
||
NOTES_DIR="${NOTES_DIR:-contrib/upgrade-notes}" | ||
version=$1 | ||
|
||
# Copy the latest upgrade notes to a version-specific file and create new latest from the template. | ||
# Skip for pre-releases. | ||
if [[ ! "$version" == *"-"* ]]; then | ||
cp "$NOTES_DIR/latest.md" "$NOTES_DIR/$version.md" | ||
cp "$NOTES_DIR/template.md" "$NOTES_DIR/latest.md" | ||
fi |