Skip to content

Commit

Permalink
Remove unused release_date from Hugo config (#2042)
Browse files Browse the repository at this point in the history
* Remove release_date from Hugo config

It seems unnecessary because it is not used anywhere.

Signed-off-by: Kévin Commaille <[email protected]>

* 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 <[email protected]>

* Add changelog

Signed-off-by: Kévin Commaille <[email protected]>

---------

Signed-off-by: Kévin Commaille <[email protected]>
  • Loading branch information
zecakeh authored Jan 14, 2025
1 parent 42364c5 commit b9b10c4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/2042.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove unused `release_date` from Hugo config.
3 changes: 1 addition & 2 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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
# 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"
# minor = "13"
# release_date = "December 19, 2024"

# User interface configuration
[params.ui]
Expand Down
4 changes: 0 additions & 4 deletions meta/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ release.
# and `minor = "2"`
major = "1"
minor = "2"

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

0 comments on commit b9b10c4

Please sign in to comment.