master
developer 2021-01-19 22:14:08 +08:00
parent b80c03cecb
commit 8dca8f9da7
2 changed files with 1 additions and 24 deletions

View File

@ -1,6 +1,6 @@
name: mop
description: A Finogeeks MiniProgram Flutter SDK.
version: 1.0.0
version: 1.0.1
homepage: https://github.com/finogeeks/mop-flutter-sdk
environment:

23
tag.sh
View File

@ -1,28 +1,5 @@
#!/bin/bash
version=$1
message=$2
sdkType=$3
if [ -z "$message" ]; then
echo "============发布内容不能为空==============="
echo "Usage: bash tag.sh 1.0.0 '发布说明文字填这里' debug"
exit
fi
echo ${sdkType}
if [[ "$sdkType" = "debug" ]]
then
echo "准备发版for debug 版本"
cp HelpFile/framework.zip FinApplet/Resources/FinApplet.bundle/framework.zip
cp HelpFile/FATMacro_debug.h FinApplet/Common/Header/Macro/FATMacro.h
else
echo "准备发版for non debug 版本"
rm -rf FinApplet/Resources/FinApplet.bundle/framework.zip
cp HelpFile/FATMacro.h FinApplet/Common/Header/Macro/FATMacro.h
fi
git tag |xargs git tag -d
git pull --tags
git tag -d $1