Skip to content

Commit

Permalink
Remove timestamp from CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Aug 31, 2021
1 parent 71e027a commit 4b9b711
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 38 deletions.
80 changes: 44 additions & 36 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,86 +1,94 @@
0.0.1 (08/30/2021 - 18:52:52)
-----------------------------
0.0.1 (08/30/2021)
------------------
- Initial commit

0.0.2 (08/30/2021 - 18:57:44)
-----------------------------
0.0.2 (08/30/2021)
------------------
- Add basic way to get details from `git log`

0.0.3 (08/30/2021 - 21:57:30)
-----------------------------
0.0.3 (08/30/2021)
------------------
- Get content required for a CHANGELOG

0.0.4 (08/30/2021 - 22:06:24)
-----------------------------
0.0.4 (08/30/2021)
------------------
- Add version numbers for each change
- Rename variable names

0.0.5 (08/30/2021 - 22:09:10)
-----------------------------
0.0.5 (08/30/2021)
------------------
- Get the number of commits automatically
- Add three digit version numbers

0.0.6 (08/30/2021 - 22:26:07)
-----------------------------
0.0.6 (08/30/2021)
------------------
- Wrap everything inside a class
- Print run time at the end

0.0.7 (08/30/2021 - 22:45:15)
-----------------------------
0.0.7 (08/30/2021)
------------------
- Get the commit info from the trunk branch
- Add a destructor method
- Add docstrings

0.0.8 (08/30/2021 - 22:50:04)
-----------------------------
0.0.8 (08/30/2021)
------------------
- Add pre-commit for linting, isort and flake8

0.0.9 (08/30/2021 - 23:07:49)
-----------------------------
0.0.9 (08/30/2021)
------------------
- Add sphinx documentation
- README markdown and __init__ support for sphinx documentation
- Create gen_docs.sh
- Hook up the doc generation process to pre-commit

0.1.0 (08/30/2021 - 23:17:14)
-----------------------------
0.1.0 (08/30/2021)
------------------
- onboard docs.yml but only prints a statement

0.1.1 (08/30/2021 - 23:24:27)
-----------------------------
0.1.1 (08/30/2021)
------------------
- auto upload to pypi when tagged a release version

0.1.2 (08/30/2021 - 23:59:10)
-----------------------------
0.1.2 (08/30/2021)
------------------
- Create a pypi package
- Move generator.py within a source directory
- Add __init__.py, CHANGELOT, LICENSE, MANIFEST.in, setup.cfg, setup.py, version.py

0.1.3 (08/31/2021 - 00:02:16)
-----------------------------
0.1.3 (08/31/2021)
------------------
- revert change on python-publish.yml

0.1.4 (08/31/2021 - 00:03:04)
-----------------------------
0.1.4 (08/31/2021)
------------------
- auto upload to pypi when tagged a release version

0.1.5 (08/31/2021 - 01:22:22)
-----------------------------
0.1.5 (08/31/2021)
------------------
- Alter time counter in destructor method
- Update README.md, .gitignore, CHANGELOG
- Bump version

0.1.6 (08/31/2021 - 01:29:57)
-----------------------------
0.1.6 (08/31/2021)
------------------
- Update sample code in README.md
- Bump version to 0.1.6

0.1.7 (08/31/2021 - 01:35:09)
-----------------------------
0.1.7 (08/31/2021)
------------------
- bump version to run build

0.1.8 (08/31/2021 - 07:56:10)
-----------------------------
0.1.8 (08/31/2021)
------------------
- Support up to 6 digit version numbers
- Fix versions() getting called repeatedly
- Add logger info

0.1.9 (08/31/2021)
------------------
- Update CHANGELOG

0.2.0 (08/31/2021)
------------------
- Remove timestamp from CHANGELOG
2 changes: 1 addition & 1 deletion changemaker/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def run(self) -> None:
ind = log.index(element)
element = ' '.join(element.lstrip('Date:').strip().split()[0:-1])
datetime_obj = datetime.strptime(element, "%a %b %d %H:%M:%S %Y")
element = f'{versions[iterator]} ({datetime_obj.strftime("%m/%d/%Y - %H:%M:%S")})'
element = f'{versions[iterator]} ({datetime_obj.strftime("%m/%d/%Y")})'
iterator += 1
log[ind + 1] = '-' * len(element)
# log.pop(ind + 1) # Use this to leave a blank line instead of '----'
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version_info = (0, 1, 8)
version_info = (0, 2, 0)

0 comments on commit 4b9b711

Please sign in to comment.