From 666ef195566b2db1abdc9f57c1e73735c841112d Mon Sep 17 00:00:00 2001
From: Darius Jahandarie <djahandarie@gmail.com>
Date: Tue, 24 Oct 2023 22:04:29 +0900
Subject: Fix version number in Firefox updates.json in CD

---
 .github/workflows/publish-firefox-development.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/publish-firefox-development.yml b/.github/workflows/publish-firefox-development.yml
index c956b76c..7312bd56 100644
--- a/.github/workflows/publish-firefox-development.yml
+++ b/.github/workflows/publish-firefox-development.yml
@@ -74,7 +74,7 @@ jobs:
                   "{2d13e145-294e-4ead-9bce-b4644b203a00}": {
                       "updates": [
                           {
-                              "version": "${{ github.event.release.name }}",
+                              "version": "${{ github.ref_name }}",
                               "update_link": "${{ steps.uploadReleaseAsset.outputs.browser_download_url }}"
                           }
                       ]
@@ -88,7 +88,7 @@ jobs:
         run: |
           git config --local user.email "github-actions[bot]@users.noreply.github.com"
           git config --local user.name "github-actions[bot]"
-          git commit -a -m "${{ github.event.release.name }} - ${{ github.event.release.html_url }}"
+          git commit -a -m "${{ github.ref_name }}"
 
       - name: Push changes
         uses: ad-m/github-push-action@29f05e01bb17e6f28228b47437e03a7b69e1f9ef # pin@master
-- 
cgit v1.2.3