mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
build: Always set snap grade to stable
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
8
dist/snap/snapcraft.yaml
vendored
8
dist/snap/snapcraft.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user