mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-15 02:11:38 +00:00
Set RELEASE=ON only when it's a release
This commit is contained in:
parent
e93819b2ea
commit
e686a5f991
2
.github/workflows/publish-appimage.yml
vendored
2
.github/workflows/publish-appimage.yml
vendored
@ -103,6 +103,8 @@ jobs:
|
||||
echo "CXX=clang++-${CLANG_VERSION}" | tee -a $GITHUB_ENV
|
||||
- name: Build AppImage
|
||||
run: ./appimage/build.sh
|
||||
env:
|
||||
RELEASE: "${{ startsWith(github.ref, 'refs/tags/') && 'ON' || 'OFF' }}"
|
||||
- run: ./conky-x86_64.AppImage --version # print version
|
||||
- run: mv conky-x86_64.AppImage conky-${{ matrix.os }}-${{ matrix.arch }}-${{ env.GIT_VERSION }}.AppImage
|
||||
- run: mv conky-x86_64.AppImage.sha256 conky-${{ matrix.os }}-${{ matrix.arch }}-${{ env.GIT_VERSION }}.AppImage.sha256
|
||||
|
@ -39,7 +39,7 @@ pushd "$BUILD_DIR"
|
||||
# we need to explicitly set the install prefix, as CMake's default is /usr/local for some reason...
|
||||
cmake -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DRELEASE=ON \
|
||||
-DRELEASE=$RELEASE \
|
||||
-DBUILD_AUDACIOUS=ON \
|
||||
-DBUILD_DOCS=ON \
|
||||
-DBUILD_HTTP=ON \
|
||||
|
Loading…
x
Reference in New Issue
Block a user