diff --git a/www/docs/customization/nightlies.md b/www/docs/customization/nightlies.md index 175dd537b..d8f4fbbe3 100644 --- a/www/docs/customization/nightlies.md +++ b/www/docs/customization/nightlies.md @@ -20,7 +20,7 @@ nightly: # # Default: `{{ incpatch .Version }}-{{ .ShortCommit }}-nightly`. # Templates: allowed. - name_template: "{{ incpatch .Version }}-devel" + version_template: "{{ incpatch .Version }}-devel" # Tag name to create if publish_release is enabled. tag_name: devel diff --git a/www/docs/deprecations.md b/www/docs/deprecations.md index 051eb68c0..14aeaad9d 100644 --- a/www/docs/deprecations.md +++ b/www/docs/deprecations.md @@ -21,7 +21,7 @@ Template for new deprecations: ### property -> since yyyy-mm-dd (v2.xx) +> since v2.xx Description. @@ -39,9 +39,29 @@ Description. --> +### nightly.name_template + +> since v2.2 + +Property renamed so its easier to reason about. + +=== "Before" + + ```yaml + nightly: + name_template: 'foo' + ``` + +=== "After" + + ```yaml + nightly: + version_template: 'foo' + ``` + ### snapshot.name_template -> since 2024-07-28 (v2.2) +> since v2.2 Property renamed so its easier to reason about. diff --git a/www/docs/static/schema-pro.json b/www/docs/static/schema-pro.json index 628d71a66..0e7f034b4 100644 --- a/www/docs/static/schema-pro.json +++ b/www/docs/static/schema-pro.json @@ -2706,6 +2706,9 @@ }, "Nightly": { "properties": { + "version_template": { + "type": "string" + }, "name_template": { "type": "string" },