Skip to content

Commit

Permalink
scripts: Use day without leading zero in the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed May 2, 2021
1 parent 9d94973 commit 0868f2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Weblate 4.6.1
-------------

Released on May 02nd 2021.
Released on May 2nd 2021.

* Remove obsolete spam protection code.
* Improve source plural check accuracy.
Expand Down Expand Up @@ -73,7 +73,7 @@ Released on March 26th 2021.
Weblate 4.5.1
-------------

Released on March 05th 2021.
Released on March 5th 2021.

* Fixed editing of glossary flags in some corner cases.
* Extend metrics usage to improve performance of several pages.
Expand Down Expand Up @@ -369,7 +369,7 @@ Released on June 15th 2020.
Weblate 4.0.4
-------------

Released on May 07th 2020.
Released on May 7th 2020.

* Fixed testsuite execution on some Python 3.8 environments.
* Typo fixes in the documentation.
Expand All @@ -383,7 +383,7 @@ Released on May 07th 2020.
Weblate 4.0.3
-------------

Released on May 02nd 2020.
Released on May 2nd 2020.

* Fixed possible crash in reports.
* User mentions in comments are now case insensitive.
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare-release
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi

. scripts/test-database
version=$(python -c 'import weblate.utils.version; print(weblate.utils.version.VERSION_BASE)')
today=$(./manage.py shell -c 'from django.utils.dateformat import format; import datetime; print(format(datetime.date.today(), "F dS Y"))')
today=$(./manage.py shell -c 'from django.utils.dateformat import format; import datetime; print(format(datetime.date.today(), "F jS Y"))')

sed -i "s/^VERSION =.*/VERSION = \"$version\"/" weblate/utils/version.py
sed -i "s/^Not yet released./Released on $today./" docs/changes.rst
Expand Down

0 comments on commit 0868f2f

Please sign in to comment.