File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -119,13 +119,13 @@ jobs:
119
119
done
120
120
done
121
121
122
- - name : Remove everything
122
+ - name : Remove everything in the working directory
123
123
run : for i in $(ls) ; do rm -rf "$i"; done;
124
124
125
125
- name : Create new empty repo
126
126
run : git init
127
127
128
- - name : Initiate diffs
128
+ - name : Create diffs
129
129
id : create-diffs
130
130
run : |
131
131
# Source all the configuration values to load $languages, $types, and $exclude
@@ -136,7 +136,7 @@ jobs:
136
136
137
137
# Set author
138
138
git config --global user.email "[email protected] "
139
- git config --global user.name "Github actions test "
139
+ git config --global user.name "create-react-native-library diff generator action "
140
140
141
141
function copy_commit_diff(){
142
142
library_type=$1
@@ -195,10 +195,9 @@ jobs:
195
195
196
196
# Add output to file
197
197
# echo "[$library_type/$language](https://github.com/${{github.repository}}/compare/$old_version_commit_hash..$new_version_commit_hash)" >> "$output_file"
198
+
199
+ # Write the diff to the output file
198
200
git diff HEAD~ >> $output_file
199
- echo "$output_file"
200
-
201
- cat "$output_file"
202
201
fi
203
202
}
204
203
You can’t perform that action at this time.
0 commit comments