Skip to content

Commit

Permalink
[release] v0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanming-hu authored May 6, 2020
1 parent 0575a6f commit 66c0b43
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project(taichi)

SET(TI_VERSION_MAJOR 0)
SET(TI_VERSION_MINOR 6)
SET(TI_VERSION_PATCH 1)
SET(TI_VERSION_PATCH 2)

execute_process(
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Advanced features of Taichi include [spatially sparse computing](https://taichi.
## Installation [![Downloads](https://pepy.tech/badge/taichi-nightly)](https://pepy.tech/project/taichi-nightly)

```bash
python3 -m pip install taichi # Latest version: 0.6.1
python3 -m pip install taichi # Latest version: 0.6.2
```

**News: (Apr 29, 2020) The OpenGL Compute Shader backend by [彭于斌 (archibate)](https://github.com/archibate)** is officially released in [**v0.6.0**](https://github.com/taichi-dev/taichi/releases/tag/v0.6.0)! Please try it out with `ti.init(arch=ti.opengl)`.
Expand Down
2 changes: 1 addition & 1 deletion docs/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.1
0.6.2
23 changes: 17 additions & 6 deletions misc/make_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def format(c):
'bug': 'Bug fixes',
'test': 'Tests',
'async': 'AsyncEngine',
'release': '',
}

for i, c in enumerate(commits):
Expand All @@ -58,15 +59,25 @@ def format(c):
tags.append(tag)
s = s[r + 1:]
s = s.strip()

for tag in tags:
assert tag.lower() in details, f'Tag {tag} undefined in details'
if tag[0].isupper():
tag = tag.lower()
if tag not in notable_changes:
notable_changes[tag] = []
notable_changes[tag].append(s)
if tag.lower() in details:
if details[tag.lower()] == '':
# E.g. 'release' does not need to appear in the change log
continue
if tag[0].isupper():
tag = tag.lower()
if tag not in notable_changes:
notable_changes[tag] = []
notable_changes[tag].append(s)
else:
print(
f'** Warning: tag {tag.lower()} undefined in the "details" dict. Please include the tag into "details", unless the tag is a typo.'
)

if s.startswith('[release]'):
break

all_changes.append(format(c))

for tag in sorted(notable_changes.keys()):
Expand Down

0 comments on commit 66c0b43

Please sign in to comment.