File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ repo=${1?Local repo folder required.}
17
17
# Working directory
18
18
cd $repo
19
19
20
+ # Reading most recent commit
21
+ echo " Fetching latest commit message from '$repo '"
22
+ latestCommit=" $( git --no-pager log --pretty=' %h %B' -n 1) "
23
+ echo
24
+
20
25
# Commit
21
26
echo " >>> Committing changes"
22
27
31
36
git commit -m " :heavy_check_mark: [CircleCI] Mellis $MELLIS_VERSION , Python3 module $MELLIS_PYTHON3_VERSION
32
37
This commit was created autonomously by a script in the CircleCI workflow.
33
38
39
+ Latest commit:
40
+ $latestCommit
41
+
34
42
:shipit: $CIRCLE_BUILD_URL
35
43
:octocat: https://github.com/$CIRCLE_PROJECT_USERNAME /$CIRCLE_PROJECT_REPONAME /commit/$CIRCLE_SHA1 "
36
44
COMMIT_STATUS=$?
@@ -88,6 +96,9 @@ TAG_COUNT=$((0))
88
96
tagMessage=" Mellis $MELLIS_VERSION , Python3 module $MELLIS_PYTHON3_VERSION
89
97
This tag was created autonomously by a script in the CircleCI workflow.
90
98
99
+ Latest commit:
100
+ $latestCommit
101
+
91
102
:shipit: $CIRCLE_BUILD_URL
92
103
:octocat: https://github.com/$CIRCLE_PROJECT_USERNAME /$CIRCLE_PROJECT_REPONAME /commit/$CIRCLE_SHA1 "
93
104
You can’t perform that action at this time.
0 commit comments