This commit is contained in:
kenzok8 2021-09-14 01:29:03 +08:00
parent 6866809b9c
commit 7aa4429f6d
5 changed files with 32 additions and 0 deletions

View File

@ -52,6 +52,30 @@ jobs:
rm -rf `find ./* -maxdepth 0 -type d ! -name "diy"` >/dev/null 2>&1
$GITHUB_WORKSPACE/${{matrix.target}}.sh
$GITHUB_WORKSPACE/diy/convert_translation.sh
$GITHUB_WORKSPACE/diy/convert_translation.sh
- name: Modify
run: |
shopt -s extglob
(
sed -i \
-e 's?include \.\./\.\./\(lang\|devel\)?include $(TOPDIR)/feeds/packages/\1?' \
-e "s/\(PKG_HASH\|PKG_MD5SUM\|PKG_MIRROR_HASH\):=.*/\1:=skip/" \
-e 's?\.\./\.\./luci.mk?$(TOPDIR)/feeds/luci/luci.mk?' \
-e 's/ca-certificates/ca-bundle/' \
*/Makefile
) &
for pkg in $(ls -d */); do
if [ "$(grep "PKG_RELEASE" $pkg/Makefile)" ]; then
sed -i "s/PKG_RELEASE:=.*/PKG_RELEASE:=$(git rev-list --count master $pkg)/" $pkg/Makefile || true
fi
done
while [ ! -f /tmp/ok ]; do
echo "wait"
sleep 1
done
- name: Upload
env:

View File

@ -56,6 +56,8 @@ svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
svn co https://github.com/liuran001/openwrt-theme/trunk/luci-theme-argon-lr
svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-udp2raw
svn co https://github.com/immortalwrt/packages/trunk/net/udp2raw-tunnel
svn co https://github.com/kenzok8/jell/trunk/luci-app-adguardhome
svn co https://github.com/kenzok8/jell/trunk/adguardhome
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns

View File

@ -55,6 +55,8 @@ svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/microsocks
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/redsocks2
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-udp2raw
svn co https://github.com/immortalwrt/packages/trunk/net/udp2raw-tunnel
svn co https://github.com/kenzok8/jell/trunk/luci-app-adguardhome
svn co https://github.com/kenzok8/jell/trunk/adguardhome
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns

View File

@ -56,6 +56,8 @@ svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
svn co https://github.com/liuran001/openwrt-theme/trunk/luci-theme-argon-lr
svn co https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-udp2raw
svn co https://github.com/immortalwrt/packages/trunk/net/udp2raw-tunnel
svn co https://github.com/kenzok8/jell/trunk/luci-app-adguardhome
svn co https://github.com/kenzok8/jell/trunk/adguardhome
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns

View File

@ -55,6 +55,8 @@ svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/microsocks
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/redsocks2
svn co https://github.com/coolsnowwolf/lede/trunk/package/lean/tcpping
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-aliddns
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-udp2raw
svn co https://github.com/immortalwrt/packages/trunk/net/udp2raw-tunnel
svn co https://github.com/kenzok8/jell/trunk/luci-app-adguardhome
svn co https://github.com/kenzok8/jell/trunk/adguardhome
svn co https://github.com/immortalwrt/luci/trunk/applications/luci-app-smartdns