File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -111,15 +111,13 @@ jobs:
111
111
- run :
112
112
name : remark on autogenerated CHANGES.md
113
113
command : |
114
+ mkdir ~/project/src/tmp
114
115
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
115
- mkdir ~/project/src/tmp
116
116
cat ~/build/src/CHANGES.md
117
- cp ~/build/src/CHANGES.md ~/project/src/CHANGES.md
118
- npx remark ~/project/src/CHANGES.md -o ~/project/src/tmp/CHANGES.md
117
+ cp ~/build/src/CHANGES.md ~/project/src/tmp/CHANGES.md
119
118
npx remark ~/project/src/tmp/CHANGES.md --frail --rc-path .remarkrc
120
119
else
121
120
echo "Commit or Release, do nothing"
122
- mkdir ~/project/src/tmp
123
121
touch ~/project/src/tmp/empty.txt
124
122
fi
125
123
- persist_to_workspace :
You can’t perform that action at this time.
0 commit comments