mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 03:28:31 +02:00
change expression per shellcheck
This commit is contained in:
parent
319413878f
commit
3d5c0795e6
1 changed files with 1 additions and 1 deletions
2
.github/workflows/changelog.yaml
vendored
2
.github/workflows/changelog.yaml
vendored
|
@ -97,7 +97,7 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
sed -i "1,$(expr $tagline - 1)d" "$FILENAME"
|
||||
sed -i "1,$(( tagline - 1 ))d" "$FILENAME"
|
||||
# delete generated line (or it will be added multiple times)
|
||||
sed -i '/This Changelog was automatically generated by/d' "$FILENAME"
|
||||
# delete trailing empty lines
|
||||
|
|
Loading…
Add table
Reference in a new issue