mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
update: deepin build
This commit is contained in:
parent
f29fa16289
commit
3c373a8f6f
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
branches: [ master, build]
|
branches: [ master, dev]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
# # Allows you to run this workflow manually from the Actions tab
|
# # Allows you to run this workflow manually from the Actions tab
|
||||||
@ -237,10 +237,10 @@ jobs:
|
|||||||
ls -l
|
ls -l
|
||||||
mkdir -p tmp/build
|
mkdir -p tmp/build
|
||||||
tools/build-prepare.sh
|
tools/build-prepare.sh
|
||||||
sudo env NO_WINE=false tools/build-deepin.sh ${{ steps.tag.outputs.tag }}
|
env NO_WINE=false tools/build-deepin.sh ${{ steps.tag.outputs.tag }}
|
||||||
export NO_WINE=true
|
export NO_WINE=true
|
||||||
tools/build-prepare.sh
|
tools/build-prepare.sh
|
||||||
sudo env NO_WINE=true tools/build-deepin.sh ${{ steps.tag.outputs.tag }}
|
env NO_WINE=true tools/build-deepin.sh ${{ steps.tag.outputs.tag }}
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2.3.1
|
uses: actions/upload-artifact@v2.3.1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
io.github.msojocs.wechat-devtools-no-wine (1.05.2203070-7) unstable; urgency=medium
|
io.github.msojocs.wechat-devtools (1.05.2203070-7) unstable; urgency=medium
|
||||||
|
|
||||||
* fix:
|
* fix:
|
||||||
- cli
|
- cli
|
||||||
|
@ -58,7 +58,7 @@ cp -r "$root_dir/res/deepin"/* $build_dir
|
|||||||
mv "$build_dir/opt/apps/io.github.msojocs.wechat-devtools"/* $base_dir
|
mv "$build_dir/opt/apps/io.github.msojocs.wechat-devtools"/* $base_dir
|
||||||
rm -r "$build_dir/opt/apps/io.github.msojocs.wechat-devtools"
|
rm -r "$build_dir/opt/apps/io.github.msojocs.wechat-devtools"
|
||||||
sed -i "s/BUILD_VERSION/${BUILD_VERSION//v/}/" "$build_dir/debian/control" "$base_dir/info"
|
sed -i "s/BUILD_VERSION/${BUILD_VERSION//v/}/" "$build_dir/debian/control" "$base_dir/info"
|
||||||
sed -i "s/io.github.msojocs.wechat-devtools/$package_name/g" "$base_dir/info" "$build_dir/debian/control"
|
sed -i "s/io.github.msojocs.wechat-devtools/$package_name/g" "$base_dir/info" "$build_dir/debian/control" "$build_dir/debian/changelog"
|
||||||
\cp -rf "$root_dir/bin/wechat-devtools" "$base_dir/files/bin/bin/wechat-devtools"
|
\cp -rf "$root_dir/bin/wechat-devtools" "$base_dir/files/bin/bin/wechat-devtools"
|
||||||
|
|
||||||
# desktop
|
# desktop
|
||||||
@ -90,11 +90,10 @@ cd "$build_dir"
|
|||||||
ls -l "$build_dir"
|
ls -l "$build_dir"
|
||||||
mkdir -p "$root_dir/tmp/build"
|
mkdir -p "$root_dir/tmp/build"
|
||||||
|
|
||||||
if [[ ! $NO_WINE -eq 'true' ]];then
|
if [[ $NO_WINE != 'true' ]];then
|
||||||
|
echo "添加wine依赖 - $NO_WINE"
|
||||||
echo "Depends: wine, wine-binfmt" >> "$build_dir/debian/control"
|
echo "Depends: wine, wine-binfmt" >> "$build_dir/debian/control"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cd "$tmp_dir"
|
echo 'y' | debuild
|
||||||
# tar -zcf "$tmp_dir/${package_name}_${BUILD_VERSION//v/}.orig.tar.gz" "$package_name"
|
mv $tmp_dir/*.deb $tmp_dir/build
|
||||||
# dpkg-deb -b . "$root_dir/tmp/build/WeChat_Dev_Tools_${BUILD_VERSION}_amd64_${BUILD_MARK}_deepin.deb"
|
|
||||||
echo 'y' | debuild
|
|
Loading…
x
Reference in New Issue
Block a user