File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ jobs:
170
170
# Add all files and commit
171
171
git add -A || true
172
172
173
- if git commit -m "Automatic commit"; then
173
+ if git commit -qm "Automatic commit"; then
174
174
echo "Commit successful"
175
175
else
176
176
echo "No changes"
@@ -186,16 +186,13 @@ jobs:
186
186
# Add all files and commit
187
187
git add -A || true
188
188
189
- if git commit -m "Automatic commit"; then
190
- echo "Commit successful"
189
+ if git commit -qm "Automatic commit"; then
190
+ echo "Commit successful"
191
191
else
192
- echo "No changes"
193
- return
192
+ echo "No changes"
193
+ return
194
194
fi
195
195
196
- # echo diff
197
- echo $(git diff HEAD~)
198
-
199
196
# Check if there is a diff
200
197
if git diff --quiet HEAD~; then
201
198
echo "No diff"
@@ -213,6 +210,8 @@ jobs:
213
210
# echo "[$library_type/$language](https://github.com/${{github.repository}}/compare/$old_version_commit_hash..$new_version_commit_hash)" >> "$output_file"
214
211
215
212
# Add changes to output file
213
+ echo $(git diff HEAD~)
214
+
216
215
git diff HEAD~ >> $output_file
217
216
echo "$output_file"
218
217
fi
You can’t perform that action at this time.
0 commit comments