forked from Tylian/XKit
-
Notifications
You must be signed in to change notification settings - Fork 135
37 lines (31 loc) · 1.14 KB
/
update-release-metadata.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Update Release Metadata
on:
workflow_dispatch:
inputs:
newVersion:
description: version override
type: string
required: false
jobs:
create-update-pr:
name: Create update PR
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- name: Update release metadata
run: node dev/update_release_metadata.mjs ${{ inputs.newVersion || '' }}
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
title: Update release metadata
commit-message: update release metadata
branch: update-release-metadata
body: |
Updates the extension version in metadata files, triggering Firefox autoupdate and the "Please update XKit!" in-extension notification.
Remember to confirm that the referenced version is released on Github, the .xpi file link works, and the Chrome web store has the referenced version available before merging this.