mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-28 13:54:45 -05:00
Merge pull request #1321 from ousttrue/version/v0_87_0_release
UniVRM-0.87.0 release note
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -55,4 +55,4 @@ Assets/Private.meta
|
||||
|
||||
# sphinx build
|
||||
public
|
||||
|
||||
*.pyc
|
||||
@@ -3,14 +3,18 @@ import sys
|
||||
import git.repo
|
||||
import re
|
||||
import pathlib
|
||||
import release_gen
|
||||
|
||||
HERE = pathlib.Path(__file__).absolute().parent
|
||||
|
||||
MERGE_PATTERN = re.compile(r'Merge pull request #(\d+)')
|
||||
|
||||
|
||||
def main(repo: git.repo.Repo, rev: str):
|
||||
print('# v0.86.0: 1.0準備')
|
||||
def main(repo: git.repo.Repo, version: str):
|
||||
major, minor, patch = [int(x) for x in version.split('.')]
|
||||
rev = f'v{major}.{minor-1}.0..v{major}.{minor}.0'
|
||||
|
||||
print(f'# v{version}: 1.0準備')
|
||||
print()
|
||||
for item in repo.iter_commits(rev=rev):
|
||||
m = MERGE_PATTERN.match(item.message)
|
||||
@@ -26,4 +30,5 @@ def main(repo: git.repo.Repo, rev: str):
|
||||
|
||||
if __name__ == '__main__':
|
||||
repo = git.repo.Repo(str(HERE.parent))
|
||||
main(repo, sys.argv[1])
|
||||
version = release_gen.get_version()
|
||||
main(repo, version)
|
||||
|
||||
38
docs/release/079/v0.87.0.md
Normal file
38
docs/release/079/v0.87.0.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# v0.87.0: 1.0準備
|
||||
|
||||
## 1.0
|
||||
|
||||
* [[\#1317](https://github.com/vrm-c/UniVRM/pull/1317)] 1.0-beta
|
||||
* [[\#1314](https://github.com/vrm-c/UniVRM/pull/1314)] FastSpringBone1.0の内部構造を動的に変更するための仕組みを追加しました
|
||||
* [[\#1312](https://github.com/vrm-c/UniVRM/pull/1312)] [1.0] Scale 対応
|
||||
* [[\#1308](https://github.com/vrm-c/UniVRM/pull/1308)] [1.0] ushort, byte 型の indices を持つモデルのマイグレーション
|
||||
* [[\#1306](https://github.com/vrm-c/UniVRM/pull/1306)] Hierarchyの構築が終わるまでVrm10Instanceの有効化を遅延させる
|
||||
* [[\#1305](https://github.com/vrm-c/UniVRM/pull/1305)] [1.0] Migration の修正
|
||||
|
||||
## unitypackage
|
||||
|
||||
* [[\#1320](https://github.com/vrm-c/UniVRM/pull/1320)] unity_package
|
||||
* [[\#1309](https://github.com/vrm-c/UniVRM/pull/1309)] copy Samples~ to under Assets
|
||||
* [[\#1299](https://github.com/vrm-c/UniVRM/pull/1299)] [Maintenance] Samples を Samples~ に移動
|
||||
|
||||
## doc
|
||||
|
||||
* [[\#1313](https://github.com/vrm-c/UniVRM/pull/1313)] Doc/update 20211015
|
||||
* [[\#1302](https://github.com/vrm-c/UniVRM/pull/1302)] rtdテンプレート向けの言語スイッチリンク
|
||||
* [[\#1301](https://github.com/vrm-c/UniVRM/pull/1301)] update release notes
|
||||
* [[\#1298](https://github.com/vrm-c/UniVRM/pull/1298)] Doc/update theme
|
||||
* [[\#1297](https://github.com/vrm-c/UniVRM/pull/1297)] Doc/reelease page
|
||||
* [[\#1292](https://github.com/vrm-c/UniVRM/pull/1292)] Put English version in msgstr
|
||||
* [[\#1291](https://github.com/vrm-c/UniVRM/pull/1291)] update release note v0.86.0(en)
|
||||
* [[\#1290](https://github.com/vrm-c/UniVRM/pull/1290)] 新しい順に並べ替え
|
||||
* [[\#1289](https://github.com/vrm-c/UniVRM/pull/1289)] Doc/release v0.86.0
|
||||
|
||||
## other
|
||||
|
||||
* [[\#1318](https://github.com/vrm-c/UniVRM/pull/1318)] Trim whitespaces at generated object field serialization code.
|
||||
* [[\#1315](https://github.com/vrm-c/UniVRM/pull/1315)] At importing, Unity asset name is fixed with ignore-case comparison.
|
||||
* [[\#1316](https://github.com/vrm-c/UniVRM/pull/1316)] Quaternion.AngleAxisの単位が間違えていたことによるバグを修正
|
||||
* [[\#1311](https://github.com/vrm-c/UniVRM/pull/1311)] Implements asynchronous AwaitCaller at runtime.
|
||||
* [[\#1310](https://github.com/vrm-c/UniVRM/pull/1310)] UniVRM-0.87.0
|
||||
* [[\#1307](https://github.com/vrm-c/UniVRM/pull/1307)] VRMShaders.GLTF.IO 以下のディレクトリ整理
|
||||
* [[\#1300](https://github.com/vrm-c/UniVRM/pull/1300)] fix warnings
|
||||
84
docs/release_gen.py
Normal file
84
docs/release_gen.py
Normal file
@@ -0,0 +1,84 @@
|
||||
#
|
||||
# github Release の markdown を作るスクリプト
|
||||
#
|
||||
import pathlib
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
HERE = pathlib.Path(__file__).absolute().parent
|
||||
UNIVRM_VERSION = HERE.parent / 'Assets/VRM/Runtime/Format/VRMVersion.cs'
|
||||
|
||||
|
||||
def gen(version: str, hash: str):
|
||||
version_hash = f'{version}_{hash[0:4]}'
|
||||
print(f'''
|
||||
# Download
|
||||
|
||||
* for `Unity-2019.4.LTS` or later
|
||||
* [UniVRM-{version_hash}.unitypackage](https://github.com/vrm-c/UniVRM/releases/download/{version}/UniVRM-{version_hash}.unitypackage)
|
||||
|
||||
> `v0.87.0` から UniGLTF_VRMShaders と UniVRM が合体してひとつになりました。
|
||||
> From `v0.87.0`, UniGLTF_VRMShaders and UniVRM have been merged into one.
|
||||
|
||||
ReleaseNote
|
||||
* [日本語](https://vrm-c.github.io/UniVRM/ja/release/079/{version}.html)
|
||||
* [English](https://vrm-c.github.io/UniVRM/en/release/079/{version}.html)
|
||||
|
||||
## other unitypackage
|
||||
### UniVRM API sample
|
||||
* [UniVRM_Samples-{version_hash}.unitypackage](https://github.com/vrm-c/UniVRM/releases/download/{version}/UniVRM_Samples-{version_hash}.unitypackage)
|
||||
### VRM-1.0Beta
|
||||
* [VRM-{version_hash}.unitypackage](https://github.com/vrm-c/UniVRM/releases/download/{version}/VRM-{version_hash}.unitypackage)
|
||||
### VRM-1.0Beta API sample
|
||||
* [VRM_Samples-{version_hash}.unitypackage](https://github.com/vrm-c/UniVRM/releases/download/{version}/VRM_Samples-{version_hash}.unitypackage)
|
||||
|
||||
|package|folder|
|
||||
|-|-|
|
||||
|UniVRM|Assets/VRMShaders, Assets/UniGLTF, Assets/VRM|
|
||||
|UniVRM_Samples|Assets/VRM_Samples|
|
||||
|VRM|Assets/VRMShaders, Assets/UniGLTF, Assets/VRM10|
|
||||
|VRM_Samples|Assets/VRM10_Samples|
|
||||
|
||||
# UPM
|
||||
|
||||
| UPM package | rename | UPM url |
|
||||
|---------------------|------------------|------------------------------------------------------------------------|
|
||||
| com.vrmc.vrmshaders | | https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders#v{version} |
|
||||
| com.vrmc.gltf | com.vrmc.unigltf | https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF#v{version} |
|
||||
| com.vrmc.univrm | | https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM#v{version} |
|
||||
| com.vrmc.vrm | com.vrmc.univrm1 | https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM10#v{version} |
|
||||
|
||||
```json
|
||||
// manifest.json
|
||||
{{
|
||||
"dependencies": {{
|
||||
///
|
||||
"com.vrmc.vrmshaders": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders#v{version}",
|
||||
"com.vrmc.gltf": "https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF#v{version}",
|
||||
"com.vrmc.univrm": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM#v{version}",
|
||||
"com.vrmc.vrm": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRM10#v{version}",
|
||||
///
|
||||
}}
|
||||
}}
|
||||
```
|
||||
|
||||
''')
|
||||
|
||||
|
||||
def get_version() -> str:
|
||||
m = re.search(r'public const string VERSION = "(\d.\d+.\d)";',
|
||||
UNIVRM_VERSION.read_text(encoding='utf-8'))
|
||||
if m:
|
||||
return m[1]
|
||||
raise Exception("no version")
|
||||
|
||||
|
||||
def get_hash() -> str:
|
||||
res = subprocess.check_output("git rev-parse HEAD")
|
||||
return res.decode('utf-8')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
version = get_version(UNIVRM_VERSION)
|
||||
hash = get_hash()
|
||||
gen(version, hash)
|
||||
Reference in New Issue
Block a user