diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml
index acef3f3e52b6b8864ffb229a286924fb489328b8..f3d7dda8aa22ec060586d0fe92075fe783f72aa3 100644
--- a/.github/workflows/version.yml
+++ b/.github/workflows/version.yml
@@ -17,7 +17,7 @@ jobs:
       - name: Get current version
         uses: dolittle/write-version-to-file-action@v2
         with:
-          version: ${{ steps.context.outputs.current-version }}
+          version: ${{ github.ref_name }}
           path: ./.osuny-theme-version
           user-email: osuny@noesya.coop
           user-name: osuny-bot