diff --git a/.github/workflows/upload-to-release.yml b/.github/workflows/upload-to-release.yml
index 3049e673..2aa5299e 100644
--- a/.github/workflows/upload-to-release.yml
+++ b/.github/workflows/upload-to-release.yml
@@ -27,22 +27,22 @@ jobs:
         run: |
           GH_TOKEN=${{ secrets.PRIVATE_TOKEN }} bash .github/shell/build_and_update_cdn.sh
 
+      - name: Release Version
+        id: release_version
+        run: |
+          echo ::set-output name=tag::$(echo "${GITHUB_REF}" | sed -e "s/refs\/tags\///g" | sed -E "s/release-v?([0-9]+)\.([0-9]+)\.([0-9]+)(-[a-zA-Z]+(\.[0-9]+)?)?/\1.\2.\3\4/g")
+
       - name: gzip
         run: |
-          tar -czvf pasteme.tar.gz pasteme
+          tar -czvf pasteme-${{ steps.release_version.outputs.tag }}-frontend.tar.gz pasteme
 
       - name: Upload to release
         uses: JasonEtco/upload-to-release@master
         with:
-          args: pasteme.tar.gz application/octet-stream
+          args: pasteme-${{ steps.release_version.outputs.tag }}-frontend.tar.gz application/octet-stream
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
-      - name: Release Version
-        id: release_version
-        run: |
-          echo ::set-output name=tag::$(echo "${GITHUB_REF}" | sed -e "s/refs\/tags\///g" | sed -E "s/release-v?([0-9]+)\.([0-9]+)\.([0-9]+)(-[a-zA-Z]+(\.[0-9]+)?)?/\1.\2.\3\4/g")
-
       - name: Set up QEMU
         uses: docker/setup-qemu-action@v1