From b83f3d6cbfe62cf52c5020a37309ef69da06cb50 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 20 Aug 2025 18:14:25 +0200 Subject: [PATCH] build: Always set snap grade to stable --- .github/workflows/build.yml | 7 +------ dist/snap/snapcraft.yaml | 8 ++------ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d90bc9359..2dadd295b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1114,17 +1114,12 @@ jobs: run: | export IMHEX_VERSION=$(cat VERSION) echo "IMHEX_VERSION=$IMHEX_VERSION" >> $GITHUB_ENV - if echo $IMHEX_VERSION | grep -q "WIP"; then - echo "SNAP_GRADE=devel" >> $GITHUB_ENV - else - echo "SNAP_GRADE=stable" >> $GITHUB_ENV - fi echo "CCACHE=ccache" >> $GITHUB_ENV - name: 📜 Move snap directory to root run: | mkdir -p ./snap - envsubst '${IMHEX_VERSION},${SNAP_GRADE},${CCACHE}' < ./dist/snap/snapcraft.yaml > ./snap/snapcraft.yaml + envsubst '${IMHEX_VERSION},${CCACHE}' < ./dist/snap/snapcraft.yaml > ./snap/snapcraft.yaml - name: 📜 Setup ccache uses: hendrikmuhs/ccache-action@v1 diff --git a/dist/snap/snapcraft.yaml b/dist/snap/snapcraft.yaml index f0128d4d3..958feab09 100644 --- a/dist/snap/snapcraft.yaml +++ b/dist/snap/snapcraft.yaml @@ -3,12 +3,8 @@ title: ImHex base: core24 version: ${IMHEX_VERSION} summary: Hex editor for reverse engineering -description: | - ImHex is a hex editor for reverse engineering, reverse engineering, and - analyzing binary files. It provides a powerful and flexible interface for - working with binary data, including features like pattern matching, scripting, - and a customizable user interface. -grade: ${SNAP_GRADE} +description: ImHex is a hex editor for reverse engineering, reverse engineering, and analyzing binary files. It provides a powerful and flexible interface for working with binary data, including features like pattern matching, scripting, and a customizable user interface. +grade: stable confinement: classic contact: https://github.com/WerWolv/ImHex/discussions issues: https://github.com/WerWolv/ImHex/issues