Remove Firefox updates.json update steps

Removed the steps for updating and committing updates.json for Firefox.
This commit is contained in:
Kenneth Hendricks 2026-01-25 17:01:02 -05:00 committed by GitHub
parent f5c1e48b47
commit e0fe734680
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,30 +104,3 @@ jobs:
asset_path: dist/FMHY-SafeGuard_${{ env.VERSION }}.firefox.xpi
asset_name: FMHY-SafeGuard_${{ env.VERSION }}.firefox.xpi
asset_content_type: application/x-xpinstall
- name: Update Firefox updates.json
if: env.VERSION != 'dev-version'
run: |
cat > updates.json << EOF
{
"addons": {
"{5d554479-7cc4-487f-bd25-d8fc67a42602}": {
"updates": [
{
"version": "${VERSION#v}",
"update_link": "https://github.com/fmhy/FMHY-SafeGuard/releases/download/${{ env.VERSION }}/FMHY-SafeGuard_${{ env.VERSION }}.firefox.xpi"
}
]
}
}
}
EOF
- name: Commit and Push updates.json
if: env.VERSION != 'dev-version'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add updates.json
git commit -m "Update Firefox updates.json for ${{ env.VERSION }}" || echo "No changes to commit"
git push origin HEAD:main