diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fa78a26..1987ac3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,7 +15,7 @@ jobs:
         uses: actions/checkout@v4
 
       - name: Check that current branch is master
-        if: endsWith(github.ref, 'master') == false
+        if: github.ref != 'refs/heads/master'
         run: exit -1
 
         # Yes, this is the lazy way of doing it. Am I lazy? Yes.
diff --git a/crates/lovely-core/Cargo.toml b/crates/lovely-core/Cargo.toml
index 3099546..ea360df 100644
--- a/crates/lovely-core/Cargo.toml
+++ b/crates/lovely-core/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "lovely-core"
-version = "0.5.0-beta2"
+version = "0.5.0-beta3"
 edition = "2021"
 
 [dependencies]