Skip to content

Commit

Permalink
Merge pull request #755 from sappelhoff/quickfix
Browse files Browse the repository at this point in the history
[INFRA] do not run remark on auto CHANGES
  • Loading branch information
sappelhoff authored Mar 15, 2021
2 parents 4f887b8 + d26176c commit 70cdc87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,13 @@ jobs:
- run:
name: remark on autogenerated CHANGES.md
command: |
mkdir ~/project/src/tmp
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
mkdir ~/project/src/tmp
cat ~/build/src/CHANGES.md
cp ~/build/src/CHANGES.md ~/project/src/CHANGES.md
npx remark ~/project/src/CHANGES.md -o ~/project/src/tmp/CHANGES.md
cp ~/build/src/CHANGES.md ~/project/tmp/CHANGES.md

This comment has been minimized.

Copy link
@sappelhoff

sappelhoff Mar 15, 2021

Author Member

ok, seems like this should be:

-cp ~/build/src/CHANGES.md ~/project/tmp/CHANGES.md
+cp ~/build/src/CHANGES.md ~/project/src/tmp/CHANGES.md
npx remark ~/project/src/tmp/CHANGES.md --frail --rc-path .remarkrc
else
echo "Commit or Release, do nothing"
mkdir ~/project/src/tmp
touch ~/project/src/tmp/empty.txt
fi
- persist_to_workspace:
Expand Down

0 comments on commit 70cdc87

Please sign in to comment.