support GNOME 50, publish releases

This commit is contained in:
2026-09-04 09:41:02 +02:00
parent 7b52914920
commit 4b767f7b1d
3 changed files with 29 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Release
on:
push:
tags:
- '20[0-9][0-9].[0-9][0-9].[0-9][0-9]'
- '20[0-9][0-9].[0-9][0-9].[0-9][0-9].[0-9]+'
permissions:
code: read
releases: write
jobs:
release:
runs-on: ffmini_macos_arm64
steps:
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Build and test extension
run: make -C gnome-user-switcher-extension test
- name: Publish release
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
export XDG_CONFIG_HOME="$RUNNER_TEMP/tea"
tea login add --name actions --url "${{ gitea.server_url }}" --token "$GITEA_TOKEN" --no-version-check
tea releases create --login actions --repo "${{ gitea.repository }}" --tag "${{ gitea.ref_name }}" --target "${{ gitea.sha }}" --title "${{ gitea.ref_name }}" --asset gnome-user-switcher-extension/dist/user-switcher@felixfoertsch.de.shell-extension.zip
+2 -1
View File
@@ -4,7 +4,8 @@
"description": "Adds a top bar user menu for fast user switching.",
"version": 1,
"shell-version": [
"49"
"49",
"50"
],
"gettext-domain": "user-switcher",
"url": "https://github.com/felixfoertsch/gnome-user-switcher"