Skip to content

Commit

Permalink
Emphasized pre-releases in release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAsplund committed Jul 21, 2024
1 parent bd4971c commit d93c087
Show file tree
Hide file tree
Showing 52 changed files with 6 additions and 69 deletions.
8 changes: 6 additions & 2 deletions docs/create_release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ def create_release_notes():
)

for idx, release in enumerate(releases):
title = f":vunit_commit:`{release.name!s} <v{release.name!s}>` - {release.date.strftime('%Y-%m-%d')}"
title = f":vunit_commit:`{release.name!s} <v{release.name!s}>` - "
if release.is_pre_release:
title += "PRE-RELEASE - "
title += f"{release.date.strftime('%Y-%m-%d')}"

if idx == 0:
title += " (latest)"
Expand Down Expand Up @@ -68,7 +71,8 @@ class Release(object):
def __init__(self, file_name, is_latest):
self.suffix = file_name.suffix
self.name = file_name.stem
tag = "v" + self.name
self.is_pre_release = "dev" in self.name
tag = "v" + self.name.replace(".dev", "-dev.")

git = which("git")
if git is None:
Expand Down
1 change: 0 additions & 1 deletion docs/news.d/+.deprecation.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/+cc958f43.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1001.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1004.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1005.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1007.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1018.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1025.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1026.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1032.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/news.d/1033.feature.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/news.d/1036.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/1039.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/179.feature.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/news.d/559.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/600.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/742.breaking.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/news.d/764.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/764.doc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/776.feature.rst

This file was deleted.

4 changes: 0 additions & 4 deletions docs/news.d/777.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/798.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/799.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/802.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/889.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/909.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/924.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/news.d/932.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/933.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/940.misc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/news.d/946.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/947.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/news.d/948.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/949.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/951.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/954.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/956.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/965.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/966.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/967.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/971.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/972.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/981.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/983.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/989.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/991.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/992.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/993.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/994.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/996.misc.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/news.d/998.feature.rst

This file was deleted.

0 comments on commit d93c087

Please sign in to comment.