Skip to content

Commit ac2101f

Browse files
committed
Merge pull request #755 from sappelhoff/quickfix
[INFRA] do not run remark on auto CHANGES
2 parents 4f887b8 + d26176c commit ac2101f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,13 @@ jobs:
111111
- run:
112112
name: remark on autogenerated CHANGES.md
113113
command: |
114+
mkdir ~/project/src/tmp
114115
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
115-
mkdir ~/project/src/tmp
116116
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
119118
npx remark ~/project/src/tmp/CHANGES.md --frail --rc-path .remarkrc
120119
else
121120
echo "Commit or Release, do nothing"
122-
mkdir ~/project/src/tmp
123121
touch ~/project/src/tmp/empty.txt
124122
fi
125123
- persist_to_workspace:

0 commit comments

Comments
 (0)