From b8a76a514473d910a70654b35b08b71d73fa45e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20F=C3=B6rtsch?= Date: Fri, 4 Sep 2026 09:41:02 +0200 Subject: [PATCH] support GNOME 50, publish releases --- .gitea/workflows/release.yml | 27 +++++++++++++++++++++++++++ metadata.json | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..9acff41 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -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 extension + run: zip -qr notification-banner-reloaded@marcinjakubowski.github.com.shell-extension.zip extension.js prefs.js utils.js metadata.json schemas LICENSE + - 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 notification-banner-reloaded@marcinjakubowski.github.com.shell-extension.zip diff --git a/metadata.json b/metadata.json index 5d24994..dd558f4 100644 --- a/metadata.json +++ b/metadata.json @@ -4,7 +4,7 @@ "description": "Configure notification banner position and animation to your liking.\nVersion 9: Gnome 45 changes by mannjani@github\nVersion 10: mannjani@github added a test button inside prefs", "uuid": "notification-banner-reloaded@marcinjakubowski.github.com", "shell-version": [ - "45", "46", "47", "48", "49" + "45", "46", "47", "48", "49", "50" ], "url": "https://github.com/marcinjakubowski/notification-position-reloaded", "settings-schema": "org.gnome.shell.extensions.notification-banner-reloaded"