From 0948fe9ff4e007c63ecbdfeb5de4744cb8ab7d67 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Sat, 11 Jul 2026 17:55:46 +0800 Subject: [PATCH] luci-app-ssr-plus: bump version to v196.4 --- .github/workflows/release-packages.yml | 49 ++++++++++++++++++-------- luci-app-ssr-plus/Makefile | 2 +- 2 files changed, 35 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index 5d01c5bd..ec8fc606 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -30,11 +30,22 @@ jobs: { echo "# helloworld ${tag_name}" echo - echo "Release tag: ${tag_name}" - echo "Commit: ${GITHUB_SHA}" + previous_tag="$(git -C source describe --tags --abbrev=0 "${GITHUB_SHA}^" 2>/dev/null || true)" + if [ -n "$previous_tag" ]; then + echo "Changes since ${previous_tag}:" + commit_range="${previous_tag}..${GITHUB_SHA}" + else + echo "Changes included in ${tag_name}:" + commit_range="${GITHUB_SHA}" + fi echo - echo "Package to build:" + git -C source log --pretty=format:'- %s (`%h`)' "$commit_range" + echo + echo + echo "Packages:" echo "- luci-app-ssr-plus" + echo "- xray-core" + echo "- mihomo" } > release_note.md echo "tag_name=${tag_name}" >> "$GITHUB_OUTPUT" @@ -130,6 +141,8 @@ jobs: CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks_V2ray_Plugin=n CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Client=n CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Libev_Server=n + CONFIG_PACKAGE_xray-core=m + CONFIG_PACKAGE_mihomo=m EOF make defconfig make clean @@ -142,23 +155,30 @@ jobs: ./scripts/feeds update helloworld ./scripts/feeds install -a -p helloworld - make package/feeds/helloworld/luci-app-ssr-plus/clean - if ! make package/feeds/helloworld/luci-app-ssr-plus/compile -j"$(nproc)"; then - make package/feeds/helloworld/luci-app-ssr-plus/compile -j1 V=s - fi + packages=(luci-app-ssr-plus xray-core mihomo) + for package in "${packages[@]}"; do + make "package/feeds/helloworld/${package}/clean" + if ! make "package/feeds/helloworld/${package}/compile" -j"$(nproc)"; then + make "package/feeds/helloworld/${package}/compile" -j1 V=s + fi + done package_dir="$(pwd)/bin/packages/${SDK_ARCH}/helloworld" dist_dir="$(pwd)/../dist/${{ matrix.build_arch }}" mkdir -p "$dist_dir" shopt -s nullglob - package_files=("$package_dir"/luci-app-ssr-plus*.${PACKAGE_EXT}) - if [ ${#package_files[@]} -eq 0 ]; then - echo "No luci-app-ssr-plus .${PACKAGE_EXT} packages were produced in ${package_dir}" >&2 - exit 1 - fi + package_files=() + for package in "${packages[@]}"; do + matches=("$package_dir"/"${package}"*."${PACKAGE_EXT}") + if [ ${#matches[@]} -eq 0 ]; then + echo "No ${package} .${PACKAGE_EXT} package was produced in ${package_dir}" >&2 + exit 1 + fi + package_files+=("${matches[@]}") + done - cp "$package_dir"/luci-app-ssr-plus*.${PACKAGE_EXT} "$dist_dir"/ + cp "${package_files[@]}" "$dist_dir"/ cp "$package_dir"/Packages* "$dist_dir"/ 2>/dev/null || true cp "$package_dir"/APKINDEX* "$dist_dir"/ 2>/dev/null || true @@ -225,6 +245,5 @@ jobs: with: tag_name: ${{ needs.prepare.outputs.tag_name }} body_path: release-note/release_note.md - generate_release_notes: true prerelease: ${{ contains(needs.prepare.outputs.tag_name, '-beta') || contains(needs.prepare.outputs.tag_name, '-rc') }} - files: releases/* \ No newline at end of file + files: releases/* diff --git a/luci-app-ssr-plus/Makefile b/luci-app-ssr-plus/Makefile index c6ac19f3..beca3bea 100644 --- a/luci-app-ssr-plus/Makefile +++ b/luci-app-ssr-plus/Makefile @@ -4,7 +4,7 @@ LUCI_TITLE:=luci-app-ssr-plus LUCI_PKGARCH:=all PKG_NAME:=luci-app-ssr-plus PKG_VERSION:=196 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \