Skip to content

Commit

Permalink
Disable version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarhermoso committed Feb 26, 2024
1 parent f3af74c commit efd2d23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ DATE_STAMP=$(date +%F)
# On Linux, the -i switch can be used without an extension argument
# On macOS, the -i switch must be followed by an extension argument (which can be empty)
# On Windows, the argument of the -i switch is optional, but if present it must follow it immediately without a space in between
sedi () {
sed --version >/dev/null 2>&1 && sed -i -- "$@" || sed -i "" "$@"
}
# sedi () {
# sed --version >/dev/null 2>&1 && sed -i -- "$@" || sed -i "" "$@"
# }

sedi -e 's/\[Unreleased\]/'"$PACKAGE_VERSION"' _'"$DATE_STAMP"'_/g' CHANGELOG.md
# sedi -e 's/\[Unreleased\]/'"$PACKAGE_VERSION"' _'"$DATE_STAMP"'_/g' CHANGELOG.md

git add CHANGELOG.md

0 comments on commit efd2d23

Please sign in to comment.