Document proto annotations scripts

This commit is contained in:
Marek Siarkowicz
2022-01-28 16:08:28 +01:00
parent f4187b4460
commit 3df14fc24f
2 changed files with 5 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env bash
# Updates etcd_version_annotations.txt based on state of annotations in proto files.
# Developers can run this script to avoid manually updating etcd_version_annotations.txt.
# Before running this script please ensure that fields/messages that you added are annotated with next etcd version.
set -o errexit
set -o nounset

View File

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Verifies proto annotations to ensure all new proto fields and messages are annotated by comparing it with etcd_version_annotations.txt file.
# This scripts is automatically run by CI to prevent pull requests missing adding a proto annotation.
set -o errexit
set -o nounset