diff --git a/Formula/badgetizr.rb b/Formula/badgetizr.rb
index 666fa32..fff19d5 100644
--- a/Formula/badgetizr.rb
+++ b/Formula/badgetizr.rb
@@ -1,9 +1,9 @@
class Badgetizr < Formula
desc "Badgetizr is a tool to allow custom badges automatically added and updated according the content of your pull request."
homepage "https://github.com/aiKrice/homebrew-badgetizr"
- url "https://github.com/aiKrice/homebrew-badgetizr/archive/refs/tags/1.5.2.tar.gz"
+ url "https://github.com/aiKrice/homebrew-badgetizr/archive/refs/tags/1.5.3.tar.gz"
head "https://github.com/aiKrice/homebrew-badgetizr.git", branch: "master"
- sha256 "a932f3a762628b50f5883d617b800a47dca90b1f899b9e0f873d5d9f4412c584"
+ sha256 "dfb861408f36540f35c6b9f190cf96745eae577880b6e2c1a15b7212431c9fe8"
license "MIT"
depends_on "yq"
diff --git a/README.md b/README.md
index f2874fe..70f97f0 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
Badgetizr
-![Static Badge](https://img.shields.io/1.5.2-darkgreen?logo=homebrew&logoColor=white&label=Homebrew-tap)
-[![Static Badge](https://img.shields.io/1.5.2-grey?logo=github&logoColor=white&label=Github-Action&labelColor=black)](https://github.com/marketplace/actions/badgetizr)
+![Static Badge](https://img.shields.io/badge/1.5.2-darkgreen?logo=homebrew&logoColor=white&label=Homebrew-tap)
+[![Static Badge](https://img.shields.io/badge/1.5.2-grey?logo=github&logoColor=white&label=Github-Action&labelColor=black)](https://github.com/marketplace/actions/badgetizr)
![Static Badge](https://img.shields.io/badge/passed-darkgreen?logo=github&logoColor=white&label=Github&labelColor=black)
![Static Badge](https://img.shields.io/badge/soon-pink?logo=gitlab&logoColor=orange&label=Gitlab&labelColor=white)
diff --git a/badgetizr b/badgetizr
index 9e1c42a..d85db8a 100755
--- a/badgetizr
+++ b/badgetizr
@@ -1,12 +1,6 @@
#!/bin/bash
-# Use local utils.sh during development
-if [ -f "$(dirname "$0")/../libexec/utils.sh" ]; then
- UTILS_PATH="$(dirname "$0")/../libexec/utils.sh"
-else
- UTILS_PATH="$(dirname "$0")/utils.sh"
-fi
-source "$UTILS_PATH"
+source $UTILS_PATH
config_file=".badgetizr.yml"
diff --git a/publish.sh b/publish.sh
index d349b0d..6e1e4ed 100755
--- a/publish.sh
+++ b/publish.sh
@@ -49,8 +49,10 @@ fail_if_error "Failed to pull develop. Please stash changes."
# Changing the version for -v option
sed -i '' "s|^BADGETIZR_VERSION=.*|BADGETIZR_VERSION=\"$VERSION\"|" "$UTILS_PATH"
-sed -i '' -E "s/(badge\/)[0-9]+\.[0-9]+\.[0-9]+(-darkgreen\?logo=homebrew)/${VERSION}\2/" "$README_PATH"
-sed -i '' -E "s/(badge\/)[0-9]+\.[0-9]+\.[0-9]+(-grey\?logo=github)/${VERSION}\2/" "$README_PATH"
+sed -i '' -E \
+ -e "s@(https://img\.shields\.io/badge/)[0-9]+\.[0-9]+\.[0-9]+(-darkgreen\\?logo=homebrew.*)@\1${VERSION}\2@" \
+ -e "s@(https://img\.shields\.io/badge/)[0-9]+\.[0-9]+\.[0-9]+(-grey\\?logo=github.*)@\1${VERSION}\2@" \
+ "$README_PATH"
sed -i '' "s|uses: aiKrice/homebrew-badgetizr@.*|uses: aiKrice/homebrew-badgetizr@${VERSION}|" "$WORKFLOW_PATH" "$README_PATH"
git add "$UTILS_PATH" "$WORKFLOW_PATH" "$README_PATH"