diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9a2d48e4cf188f315edda786bd3415fe2243eb5d..758cf719928338b4d93b7e682ad5c6275daaccd8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,7 +41,7 @@ release:
       then
         echo "This version has already been published"
       else
-        sed "s#\"$PACKAGE\"#\"@dbogatov/$PACKAGE\"#g" package.json
+        sed -i "s#\"$PACKAGE\"#\"@dbogatov/$PACKAGE\"#g" package.json
         npm publish
       fi
   rules: