1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/3rdparty/srt-1-fit/scripts/release-notes
2023-09-21 22:31:38 +08:00
..
generate_release_notes.py Upgrade libsrt to v1.5.3. v5.0.183 (#3808) 2023-09-21 22:31:38 +08:00
README.md Upgrade libsrt to v1.5.3. v5.0.183 (#3808) 2023-09-21 22:31:38 +08:00
requirements.txt Upgrade libsrt to v1.5.3. v5.0.183 (#3808) 2023-09-21 22:31:38 +08:00

Script Description

Script designed to generate release notes template with main sections, contributors list, and detailed changelog out of .csv SRT git log file. The output release-notes.md file is generated in the root folder.

In order to obtain the git log file since the previous release (e.g., v1.4.0), use the following command:

git log --pretty=format:"%h|%s|%an|%ae" v1.4.0...HEAD > commits.csv

Use the produced commits.csv file as an input to the script:

python scripts/release-notes/generate-release-notes.py commits.csv

The script produces release-notes.md as an output.

Requirements

  • Python 3.6+

To install Python libraries use:

pip install -r requirements.txt