summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-29 01:00:43 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-29 01:00:43 +1000
commit60e67e85058ddc166ffea8e652752e0c1a0a8539 (patch)
tree14efe0ac831e779dbe8930c41594ddbca7ad23ce
parentreadme: add local changes example (diff)
downloadcaelestia-shell-60e67e85058ddc166ffea8e652752e0c1a0a8539.tar.gz
caelestia-shell-60e67e85058ddc166ffea8e652752e0c1a0a8539.tar.bz2
caelestia-shell-60e67e85058ddc166ffea8e652752e0c1a0a8539.zip
ci: no cpack
-rw-r--r--.github/workflows/release.yml33
-rw-r--r--CMakeLists.txt5
2 files changed, 14 insertions, 24 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 157ace1..ac43772 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,28 +15,23 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Setup cmake
- uses: lukka/get-cmake@latest
-
- - name: Install dependencies
- run: |
- sudo apt-get update
- sudo apt-get install libpipewire-0.3-dev libaubio-dev qt6-base-dev qt6-declarative-dev
-
- - name: Build package
- run: |
- cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/ -DVERSION=$GITHUB_REF_NAME
- cmake --build build --target package
-
- - name: Create latest packages
+ - name: Create packages
run: |
- for f in build/packages/caelestia-shell-*; do
- filename=${f##*/}
- cp $f build/packages/caelestia-shell-latest.${filename#caelestia-shell-[0-9]*.[0-9]*.[0-9]*.}
- done
+ mkdir -p release
+ rsync -av \
+ --exclude='release' \
+ --exclude='.*' \
+ --exclude='nix' \
+ --exclude='flake.lock' \
+ --exclude='flake.nix' \
+ . release
+ tar -czf caelestia-shell-${{ github.ref_name }}.tar.gz release
+ cp caelestia-shell-${{ github.ref_name }}.tar.gz caelestia-shell-latest.tar.gz
- name: Create release
uses: softprops/action-gh-release@v2
with:
- files: build/packages/caelestia-shell-*
+ files: |
+ caelestia-shell-${{ github.ref_name }}.tar.gz
+ caelestia-shell-latest.tar.gz
generate_release_notes: true
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bbf604a..a29625f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,9 +18,6 @@ project(caelestia-shell VERSION ${VERSION} LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
-set(CPACK_GENERATOR "STGZ;TGZ")
-set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION}")
-set(CPACK_PACKAGE_DIRECTORY "${CMAKE_BINARY_DIR}/packages")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
set(INSTALL_LIBDIR "usr/lib/caelestia" CACHE STRING "Library install dir")
@@ -36,5 +33,3 @@ foreach(dir assets components config modules services utils)
install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}")
endforeach()
install(FILES shell.qml LICENSE DESTINATION "${INSTALL_QSCONFDIR}")
-
-include(CPack)