Skip to content

Configure GNOME extension for distribution and automate release packaging#40

Merged
sidevesh merged 2 commits intomainfrom
copilot/add-luminance-extension-zip-workflow
Feb 14, 2026
Merged

Configure GNOME extension for distribution and automate release packaging#40
sidevesh merged 2 commits intomainfrom
copilot/add-luminance-extension-zip-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 14, 2026

Updates GNOME extension structure and metadata to meet GNOME Extensions website requirements, and automates extension packaging on release.

Extension Metadata

  • Updated uuid to luminance-extension@sidevesh
  • Updated name to "Luminance extension"
  • Added version: 1 (required by GNOME)
  • Added url field pointing to repository

Directory Structure

Moved extension files into gnome-extension/luminance-extension@sidevesh/ subdirectory. GNOME extension packaging requires the directory name to match the uuid:

gnome-extension/
└── luminance-extension@sidevesh/
    ├── extension.js
    └── metadata.json

Release Automation

Added package-zip job to GitHub Actions workflow that creates [email protected] and attaches it to releases. This enables direct upload to GNOME Extensions website or manual installation.

Also renamed workflow jobs build-debpackage-deb and build-rpmpackage-rpm for consistency.

Original prompt

Add version and url to the gnome extension, make the uuid luminance-extension@sidevesh, and name also "Luminance extension", move the extension.js and metadata.json files in gnome-extension into another subdir inside gnome-extension called luminance-extension@sidevesh, when a new release is created in github actions workflows, also create and attach a zip of extension for sharing or upload to gnome extensions website, I am sharing a reference workflow for this from another project as an example to adapt from, i think you will only need to bring over the job from this and add to this project's workflow file's list of jobs with any other needed changes: name: Upload release assets

permissions:
contents: write

on:
release:
types:
- created

jobs:
package-zip:
name: Create zip for publishing
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2

  - name: Create zip
    run: |
      cd solaar-extension@sidevesh
      zip -r ../[email protected] *
      cd ..

  - name: Upload package
    uses: svenstaro/upload-release-action@v2
    with:
      repo_token: ${{ secrets.GITHUB_TOKEN }}
      file: ./[email protected]
      asset_name: [email protected]
      tag: ${{ github.ref }}, also rename build-deb, build-rpm to package-deb, package-rpm

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add version and URL to Luminance extension Configure GNOME extension for distribution and automate release packaging Feb 14, 2026
Copilot AI requested a review from sidevesh February 14, 2026 07:04
@sidevesh sidevesh marked this pull request as ready for review February 14, 2026 09:27
@sidevesh sidevesh merged commit 205ffcc into main Feb 14, 2026
@sidevesh sidevesh deleted the copilot/add-luminance-extension-zip-workflow branch February 15, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants