fix(ci): proper nightly suffix when staging

Closes #4468
diff --git a/.github/actions/release-nightly/action.yml b/.github/actions/release-nightly/action.yml
index 4f4d4cb..d4e0b01 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -63,7 +63,7 @@
     - name: Get nightly version and update date
       shell: bash
       run: |
-        V=$(make get-version | sed s/-SNAPSHOT/-nightly/)
+        V="$(make get-version | sed s/-SNAPSHOT//)-nightly"
         D=$(date)
         echo "VERSION=$V" >> $GITHUB_ENV
         echo "UPD_DATE=$D" >> $GITHUB_ENV