Skip to content

Commit

Permalink
v3.1.0 — Improve some error messages
Browse files Browse the repository at this point in the history
- When `git describe` fails to retrieve a tag, the resulting log/error message now includes all options passed to the command (based on contribution by [@jenshnielsen](https://github.com/jenshnielsen))
- When `hg log` fails to retrieve a tag, the resulting log/error message now includes the tag pattern passed to `latesttag()`, if any
  • Loading branch information
jwodder committed Mar 16, 2024
1 parent ccd10b2 commit 8903e8f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
v3.1.0 (in development)
-----------------------
v3.1.0 (2024-03-16)
-------------------
- When `git describe` fails to retrieve a tag, the resulting log/error message
now includes all options passed to the command (based on contribution by
[@jenshnielsen](https://github.com/jenshnielsen))
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021-2023 John Thorvald Wodder II and contributors
Copyright (c) 2021-2024 John Thorvald Wodder II and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Changelog
=========

v3.1.0 (in development)
-----------------------
v3.1.0 (2024-03-16)
-------------------
- When :command:`git describe` fails to retrieve a tag, the resulting log/error
message now includes all options passed to the command (based on contribution
by `@jenshnielsen <https://github.com/jenshnielsen>`_)
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

project = "versioningit"
author = "John Thorvald Wodder II"
copyright = "2021-2023 John Thorvald Wodder II" # noqa: A001
copyright = "2021-2024 John Thorvald Wodder II" # noqa: A001

extensions = [
"sphinx.ext.autodoc",
Expand Down
2 changes: 1 addition & 1 deletion src/versioningit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<https://versioningit.rtfd.io> for more information.
"""

__version__ = "3.1.0.dev1"
__version__ = "3.1.0"
__author__ = "John Thorvald Wodder II"
__author_email__ = "versioningit@varonathe.org"
__license__ = "MIT"
Expand Down

0 comments on commit 8903e8f

Please sign in to comment.