File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,23 @@ jobs:
4545 with :
4646 name : EasyWebMap
4747
48+ - name : Checkout for commit info
49+ uses : actions/checkout@v4
50+ with :
51+ fetch-depth : 0
52+
4853 - name : Generate version
4954 id : version
5055 run : echo "version=v1.0.${{ github.run_number }}" >> $GITHUB_OUTPUT
5156
57+ - name : Get changelog from commit
58+ id : changelog
59+ run : |
60+ echo "message<<EOF" >> $GITHUB_OUTPUT
61+ git log -1 --pretty=format:"%B" >> $GITHUB_OUTPUT
62+ echo "" >> $GITHUB_OUTPUT
63+ echo "EOF" >> $GITHUB_OUTPUT
64+
5265 - name : Rename JAR
5366 run : mv EasyWebMap-*.jar EasyWebMap-${{ steps.version.outputs.version }}.jar
5467
6578
6679 ---
6780
81+ ### Changelog
82+
83+ ${{ steps.changelog.outputs.message }}
84+
85+ ---
86+
6887 ### How to Install
6988
7089 1. Download `EasyWebMap-${{ steps.version.outputs.version }}.jar` below
You can’t perform that action at this time.
0 commit comments