File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ RELEASE_TAG=$1
4+ PREVIOUS_TAG=$2
5+ DEST_DIRECTORY=$3
6+
7+
8+ echo " " > ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
9+ echo " ### Changelog" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
10+ echo " " >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
11+ echo " For each component's detailed changelog, please check:" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
12+ echo " * [Ruby](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
13+ echo " * [Python](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES)" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
14+ echo " * [JavaScript](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md)" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
15+ echo " * [Java](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG)" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
16+ echo " * [DotNet](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG)" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
17+ echo " * [IEDriverServer](https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG)" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
18+ echo " " >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
19+ echo " ### Commits in this release" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
20+ echo " <details>" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
21+ echo " <summary>Click to see all the commits included in this release</summary>" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
22+ echo " " >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
23+ git --no-pager log " ${PREVIOUS_TAG} ...${RELEASE_TAG} " --pretty=format:" * [\` %h\` ](http://github.com/seleniumhq/selenium/commit/%H) - %s :: %an" --reverse >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
24+ echo " " >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
25+ echo " </details>" >> ${DEST_DIRECTORY} /release_notes_${RELEASE_TAG} .md
26+
You can’t perform that action at this time.
0 commit comments