diff options
author | Darius Jahandarie <djahandarie@gmail.com> | 2023-10-24 22:04:29 +0900 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-10-24 22:04:29 +0900 |
commit | 666ef195566b2db1abdc9f57c1e73735c841112d (patch) | |
tree | 1c575232698e93618b30d09922fa3eb7835ba26e | |
parent | d7af40a077dc7bd86279db1e35adb23566134f6b (diff) |
Fix version number in Firefox updates.json in CD
-rw-r--r-- | .github/workflows/publish-firefox-development.yml | 4 |
1 files 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 |