-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add release metadata action #2153
Add release metadata action #2153
Conversation
I finally bothered to look up what the rdf file is for, and discovered that we last needed it 8 years ago, so we could also just delete it, I imagine :D |
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
misread this as "set up node at version 4" for a second and was like "wow I knew the tech stack here was out of date but I didn't think it was that old"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! A nice automation to have
commit 43e5e17 Author: marcustyphoon <[email protected]> Date: Sun Dec 1 17:24:57 2024 -0800 Fix gh-pages workflow (master branch) (new-xkit#2170) commit bb16651 Author: marcustyphoon <[email protected]> Date: Sun Dec 1 13:15:26 2024 -0800 Move 7.9.2 patches into 7.10.0 xkit.js (new-xkit#2165) commit ee9ab3e Author: marcustyphoon <[email protected]> Date: Sat Nov 23 20:58:57 2024 -0800 Release action: fix XPI download step (new-xkit#2164) commit d2e56bc Author: marcustyphoon <[email protected]> Date: Fri Nov 22 11:45:25 2024 -0800 Add release actions (new-xkit#2155) commit a305a37 Author: marcustyphoon <[email protected]> Date: Fri Nov 22 11:20:28 2024 -0800 7.10.0 xkit patches version bump (new-xkit#2161) commit 900076f Author: marcustyphoon <[email protected]> Date: Fri Nov 22 10:24:11 2024 -0800 Add 7.9.2 deployment workflow (new-xkit#2159) commit a1e6fd6 Author: marcustyphoon <[email protected]> Date: Sun Nov 17 10:11:02 2024 -0800 Update CI action (new-xkit#2156) commit 9d175f6 Author: marcustyphoon <[email protected]> Date: Sun Nov 17 10:10:41 2024 -0800 Add release metadata action (new-xkit#2153) commit 3d5f273 Author: marcustyphoon <[email protected]> Date: Sun Nov 17 10:09:42 2024 -0800 Clean up more whitespace (new-xkit#2152) commit d4a8db0 Merge: da64504 965f1c9 Author: marcustyphoon <[email protected]> Date: Sat Nov 16 11:45:29 2024 -0800 Package code with extension (new-xkit#2148) commit 965f1c9 Author: Marcus <[email protected]> Date: Wed Nov 13 17:06:31 2024 -0800 add npm cache to action commit cc385e8 Author: Marcus <[email protected]> Date: Tue Nov 5 18:03:21 2024 -0800 don't fetch invalid resources commit 4568328 Author: Marcus <[email protected]> Date: Tue Nov 5 17:01:57 2024 -0800 Update .eslintrc.yml commit 0103bc6 Author: Marcus <[email protected]> Date: Tue Nov 5 17:01:52 2024 -0800 commit index build script commit d574831 Author: Marcus <[email protected]> Date: Tue Oct 22 04:52:47 2024 -0700 add caching to getExtensionData commit 7d5d32e Author: Marcus <[email protected]> Date: Mon Oct 21 21:36:21 2024 -0700 don't remove run_order entries (for downgrade compat) commit adfd409 Author: Marcus <[email protected]> Date: Thu Oct 10 14:52:32 2024 -0700 add back pages workflow commit 41e82fc Author: Marcus <[email protected]> Date: Thu Oct 10 15:25:17 2024 -0700 bump script versions commit b3fe374 Author: Marcus <[email protected]> Date: Wed Oct 9 21:18:56 2024 -0700 bump version commit 9bede3b Author: Marcus <[email protected]> Date: Thu Oct 10 01:36:22 2024 -0700 check updates immediately commit e7f81db Author: Marcus <[email protected]> Date: Wed Oct 9 21:56:51 2024 -0700 remove gulp server commit 48a8a83 Author: Marcus <[email protected]> Date: Wed Oct 9 21:17:19 2024 -0700 remove github pages extension hosting commit d614d0b Author: Marcus <[email protected]> Date: Thu Oct 10 01:18:59 2024 -0700 commit index files commit cb46cba Author: Marcus <[email protected]> Date: Wed Oct 9 21:26:03 2024 -0700 update eslint globals commit 66e93e2 Author: Marcus <[email protected]> Date: Mon Oct 7 18:47:49 2024 -0700 remove unused patches commit 396640f Author: Marcus <[email protected]> Date: Mon Oct 7 18:13:04 2024 -0700 remove direct eval
This creates a Github action that, when manually run, updates the version in the metadata files used to trigger Firefox autoupdate and the "Please update XKit!" in-extension notification. That is, it replicates #1831 with fewer clicks. By default, it writes the version from manifest.json; in normal use, this is all one should have to do, as our release process is to bump the version there, then sign the xpi and push to the Chrome store (is there an automated way to do this?), then perform this step.
A PR created with this for testing purposes is here: marcustyphoon#6.
Note: this may require enabling
Allow GitHub Actions to create and approve pull requests
at the bottom of https://github.com/new-xkit/XKit/settings/actions.