Remove unused release_date from Hugo config (#2042)

* Remove release_date from Hugo config

It seems unnecessary because it is not used anywhere.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Remove erroneous sentence from Hugo config docs

The version is updated manually during the release (see /meta/releasing.md), not by CI.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add changelog

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

---------

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-01-14 20:34:29 +01:00 committed by GitHub
parent 42364c5155
commit b9b10c4920
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 6 deletions

View file

@ -0,0 +1 @@
Remove unused `release_date` from Hugo config.

View file

@ -65,10 +65,9 @@ status = "unstable"
# A URL pointing to the latest, stable release of the spec. To be shown in the unstable version warning banner. # A URL pointing to the latest, stable release of the spec. To be shown in the unstable version warning banner.
current_version_url = "https://spec.matrix.org/latest" current_version_url = "https://spec.matrix.org/latest"
# The following is used when status = "stable", and is displayed in various UI elements on a released version # The following is used when status = "stable", and is displayed in various UI elements on a released version
# of the spec. CI will set these values here automatically when a release git tag (i.e `v1.5`) is created. # of the spec.
# major = "1" # major = "1"
# minor = "13" # minor = "13"
# release_date = "December 19, 2024"
# User interface configuration # User interface configuration
[params.ui] [params.ui]

View file

@ -72,9 +72,6 @@ release.
# and `minor = "2"` # and `minor = "2"`
major = "1" major = "1"
minor = "2" minor = "2"
# Today's date. Please use the format implied here for consistency.
release_date = "October 01, 2021"
``` ```
3. Commit the changes. 3. Commit the changes.
4. Generate the changelog. 4. Generate the changelog.
@ -103,7 +100,6 @@ release.
current_version_url = "https://spec.matrix.org/latest" current_version_url = "https://spec.matrix.org/latest"
# major = "1" # major = "1"
# minor = "2" # minor = "2"
# release_date = "October 01, 2021"
``` ```
11. Push pending commits and ensure the unstable spec updates accordingly from the 11. Push pending commits and ensure the unstable spec updates accordingly from the
GitHub Actions pipeline. GitHub Actions pipeline.