Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
romandemidov committed Jul 17, 2024
1 parent 31c3322 commit bc17ef8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/init-changelogs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
cp -fRTv $CHANGES_WIN/0.0.0 $CHANGES_WIN/$VERSION
cp -fRTv $CHANGES_MAC/0.0.0 $CHANGES_MAC/$VERSION
cp -fRTv $CHANGES_LINUX/template $CHANGES_LINUX/$VERSION
# for changelog files for win, mac and linux replace '0.0.0' with VERSION,
# and replace '000' in the row included 'CHANGELOG' with VERSION without dots
find $CHANGES_WIN/$VERSION $CHANGES_MAC/$VERSION $CHANGES_LINUX/$VERSION -name "*.html" -print \
-exec sed -e 's/0.0.0/'${VERSION}'/g' -e '/CHANGELOG/s/000/'${VERSION//./}'/g' -i {} \;
Expand Down

0 comments on commit bc17ef8

Please sign in to comment.