mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
update: devtools 1.05.2204250
This commit is contained in:
parent
5ce602a8b7
commit
49d9077c66
@ -11,20 +11,34 @@ VERSION_DATA=(${VERSION_DATA//,/ })
|
|||||||
TARGET_VERSION=${VERSION_DATA[0]}
|
TARGET_VERSION=${VERSION_DATA[0]}
|
||||||
TARGET_VERSION_MD5=${VERSION_DATA[1]}
|
TARGET_VERSION_MD5=${VERSION_DATA[1]}
|
||||||
|
|
||||||
LATEST_TAG=$(git describe --abbrev=0)
|
|
||||||
|
|
||||||
# 检查snapcraft主版本号是否正确
|
# 检查snapcraft主版本号是否正确
|
||||||
SNAP_VERSION=$(find $root_dir/snap -name "snapcraft.yaml" | xargs grep -P "'\d+\.\d+\.\d+-\d+" -o)
|
SNAP_VERSION=$(grep -P "'\d+\.\d+\.\d{5,}" -o $root_dir/snap/snapcraft.yaml)
|
||||||
if [ "v${SNAP_VERSION//\'/}" != "$LATEST_TAG" ];then
|
if [ "${SNAP_VERSION//\'/}" != "$TARGET_VERSION" ];then
|
||||||
echo "SNAP版本不正确!!!"
|
echo "SNAP版本不正确!!!"
|
||||||
echo "SNAP版本: v${SNAP_VERSION//\'/} != 最新TAG: $LATEST_TAG"
|
echo "SNAP版本: ${SNAP_VERSION//\'/} != 目标版本: $TARGET_VERSION"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 检查readme中的版本
|
||||||
|
README_VERSION=$(grep -P '\-\d+\.\d+\.\d{5,}-' -o "$root_dir/readme.md")
|
||||||
|
if [ "${README_VERSION//-/}" != "${TARGET_VERSION}" ];then
|
||||||
|
echo "README中版本不正确!!!"
|
||||||
|
echo "README中版本: ${README_VERSION//-/} != 目标版本: ${TARGET_VERSION}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 检查snapcraft构建时下载的工具版本号是否正确
|
# 检查snapcraft构建时下载的工具版本号是否正确
|
||||||
SNAP_DEVTOOL_VERSION=$(find $root_dir/snap -name "snapcraft.yaml" | xargs grep -P "=\d+\d+\d{5,}" -o)
|
SNAP_DEVTOOL_VERSION=$(cat $root_dir/snap/snapcraft.yaml | grep -P "=\d+\d+\d{5,}" -o)
|
||||||
if [ "${SNAP_DEVTOOL_VERSION//=/}" != "${TARGET_VERSION//./}" ];then
|
if [ "${SNAP_DEVTOOL_VERSION//=/}" != "${TARGET_VERSION//./}" ];then
|
||||||
echo "SNAP工具版本不匹配!!!"
|
echo "SNAP工具版本不正确!!!"
|
||||||
echo "snap下载版本: ${SNAP_DEVTOOL_VERSION//=/} != 目标版本: ${TARGET_VERSION//./}"
|
echo "snap下载版本: ${SNAP_DEVTOOL_VERSION//=/} != 目标版本: ${TARGET_VERSION//./}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# LATEST_TAG=$(git describe --abbrev=0)
|
||||||
|
# SNAP_VERSION=$(grep -P "'\d+\.\d+\.\d+-\d+" -o $root_dir/snap/snapcraft.yaml)
|
||||||
|
# if [ "v${SNAP_VERSION//\'/}" != "$LATEST_TAG" ];then
|
||||||
|
# echo "SNAP版本与TAG不符!!!"
|
||||||
|
# echo "SNAP版本: v${SNAP_VERSION//\'/} != 最新TAG: $LATEST_TAG"
|
||||||
|
# exit 1
|
||||||
|
# fi
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# 1.05.2204250-1 / 2022-
|
||||||
|
- update: devtools 1.05.2204250
|
||||||
|
|
||||||
# 1.05.2204180-2 / 2022-04-26
|
# 1.05.2204180-2 / 2022-04-26
|
||||||
- feat: wcc,wcsc node模块懒加载template解析支持
|
- feat: wcc,wcsc node模块懒加载template解析支持
|
||||||
|
@ -1 +1 @@
|
|||||||
1.05.2204180,0cd12ab05211bb88c56aa38f8de76a1a
|
1.05.2204250,0073a70263614777fc41f21afbfc377d
|
@ -10,10 +10,11 @@
|
|||||||
----
|
----
|
||||||
|
|
||||||
[](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml)
|
[](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml)
|
||||||
[](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)
|
[](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)
|
||||||
[](https://nwjs.io/downloads/)
|
[](https://nwjs.io/downloads/)
|
||||||
[](https://nodejs.org/en/)
|
[](https://nodejs.org/en/)
|
||||||
[](https://aur.archlinux.org/packages/wechat-devtools)
|
[](https://aur.archlinux.org/packages/wechat-devtools)
|
||||||
|
[](https://snapcraft.io/wechat-devtools)
|
||||||
|
|
||||||
这是微信开发者工具 Linux版
|
这是微信开发者工具 Linux版
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: wechat-devtools # you probably want to 'snapcraft register <name>'
|
name: wechat-devtools # you probably want to 'snapcraft register <name>'
|
||||||
base: core18 # the base snap is the execution environment for this snap
|
base: core18 # the base snap is the execution environment for this snap
|
||||||
version: '1.05.2204180-2' # just for humans, typically '1.2+git' or '1.3.2'
|
version: '1.05.2204250-1' # just for humans, typically '1.2+git' or '1.3.2'
|
||||||
summary: WeChat Devtools for Linux # 79 char long summary
|
summary: WeChat Devtools for Linux # 79 char long summary
|
||||||
description: |
|
description: |
|
||||||
WeChat Devtools for Linux.
|
WeChat Devtools for Linux.
|
||||||
@ -32,7 +32,7 @@ parts:
|
|||||||
ls -l $SNAPCRAFT_PART_INSTALL
|
ls -l $SNAPCRAFT_PART_INSTALL
|
||||||
package-nw:
|
package-nw:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
source: https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=1052204180&version_type=1
|
source: https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=1052204250&version_type=1
|
||||||
# source: cache/wechat_devtools_1.05.2204180_x64.exe
|
# source: cache/wechat_devtools_1.05.2204180_x64.exe
|
||||||
source-type: 7z
|
source-type: 7z
|
||||||
source-subdir: code
|
source-subdir: code
|
||||||
|
Loading…
x
Reference in New Issue
Block a user