mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-06 01:39:41 -05:00
commit
d7a85bea85
|
|
@ -1,39 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
import git.repo
|
||||
import re
|
||||
import pathlib
|
||||
import release_gen
|
||||
from typing import TextIO
|
||||
|
||||
HERE = pathlib.Path(__file__).absolute().parent
|
||||
|
||||
MERGE_PATTERN = re.compile(r'Merge pull request #(\d+)')
|
||||
|
||||
|
||||
def main(w: TextIO, 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'
|
||||
|
||||
w.write(f'# v{version}: 1.0準備\n')
|
||||
w.write('\n')
|
||||
for item in repo.iter_commits(rev=rev):
|
||||
m = MERGE_PATTERN.match(item.message)
|
||||
if m:
|
||||
# merge commit
|
||||
pr = m[1]
|
||||
lines = item.message.splitlines()
|
||||
|
||||
w.write(
|
||||
f'* [[\\#{pr}](https://github.com/vrm-c/UniVRM/pull/{pr})] {lines[2]}\n'
|
||||
)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
repo = git.repo.Repo(str(HERE.parent))
|
||||
version = release_gen.get_version()
|
||||
|
||||
dst = HERE / f'release/079/v{version}.md'
|
||||
with dst.open('w', encoding='utf-8') as w:
|
||||
main(w, repo, version)
|
||||
print(f'write to: {dst}')
|
||||
|
|
@ -42,10 +42,10 @@
|
|||
|
||||
</header>
|
||||
<main>
|
||||
<a href="https://github.com/vrm-c/UniVRM/releases/download/v0.89.0/UniVRM-0.89.0_9470.unitypackage" class="btn">
|
||||
<a href="https://github.com/vrm-c/UniVRM/releases/download/v0.90.0/UniVRM-0.90.0_d192.unitypackage" class="btn">
|
||||
<div class="btn">
|
||||
<h1>Download</h1>
|
||||
<h2>UniVRM-0.89.0</h2>
|
||||
<h2>UniVRM-0.90.0</h2>
|
||||
</div>
|
||||
</a>
|
||||
</main>
|
||||
|
|
|
|||
15
docs/release/079/v0.90.0.md
Normal file
15
docs/release/079/v0.90.0.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# v0.90.0: 1.0準備
|
||||
|
||||
* [[\#1394](https://github.com/vrm-c/UniVRM/pull/1394)] Colorsのnull考慮漏れを修正
|
||||
* [[\#1392](https://github.com/vrm-c/UniVRM/pull/1392)] ビルド時の参照エラーを修正
|
||||
* [[\#1391](https://github.com/vrm-c/UniVRM/pull/1391)] UniVRM-0.90.0
|
||||
* [[\#1385](https://github.com/vrm-c/UniVRM/pull/1385)] 未知の material をエクスポートするとエラーになるのを回避
|
||||
* [[\#1387](https://github.com/vrm-c/UniVRM/pull/1387)] [1.0] ScriptableObject VRM10Expression の MorphTargetBinding.Weight の値域を 0-1 に修正
|
||||
* [[\#1376](https://github.com/vrm-c/UniVRM/pull/1376)] VRM1.0についてもNew Mesh APIを使う
|
||||
* [[\#1375](https://github.com/vrm-c/UniVRM/pull/1375)] UniVRM-0.89.1
|
||||
* [[\#1374](https://github.com/vrm-c/UniVRM/pull/1374)] [1.0] indices が 65535 を超える場合に indexFormat をセットする
|
||||
* [[\#1373](https://github.com/vrm-c/UniVRM/pull/1373)] New Mesh APIを利用することで、GPUへのMeshアップロードコストを削減
|
||||
* [[\#1372](https://github.com/vrm-c/UniVRM/pull/1372)] MeshContextのListをIReadOnlyListに変更・その他フォーマット
|
||||
* [[\#1371](https://github.com/vrm-c/UniVRM/pull/1371)] MeshImporterからMeshContextを分離
|
||||
* [[\#1370](https://github.com/vrm-c/UniVRM/pull/1370)] fix download
|
||||
* [[\#1369](https://github.com/vrm-c/UniVRM/pull/1369)] doc/v0 89 0
|
||||
|
|
@ -1,6 +1,9 @@
|
|||
#
|
||||
# Release 時のドキュメントを作成するスクリプト
|
||||
#
|
||||
# required
|
||||
# pip install GitPython pyperclip
|
||||
#
|
||||
# 1. github release page の markdown => clipboard
|
||||
# 2. changelog => docs/release/079/v0.XX.Y.md
|
||||
# 3. download button => docs/index.html
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user