Skip to content

Commit

Permalink
Modify deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed May 22, 2023
1 parent e48585e commit ecfb533
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ echo "" >> ${CHANGLOG_FILE}
sed -i "s/[0-9]\+\.[0-9]\+\.[0-9]\+/${DEBIAN_VERSION}/g" ${SOURCE_DIR}/README*.md
#sed -i "s/[0-9]\+\.[0-9]\+\.[0-9]\+/${DEBIAN_VERSION}/g" ${SOURCE_DIR}/App/android/AndroidManifest.xml
sed -i "s/RabbitRemoteControl_VERSION:.*/RabbitRemoteControl_VERSION: ${DEBIAN_VERSION}/g" ${SOURCE_DIR}/.github/workflows/ubuntu.yml
#sed -i "s/^\ \"version-string\":[0-9]\+\.[0-9]\+\.[0-9]\+/\ \"version-string\":${DEBIAN_VERSION}/g" ${SOURCE_DIR}/vcpkg.json
if [ -f ${SOURCE_DIR}/vcpkg.json ]; then
sed -i "s/^\ \"version-string\":[0-9]\+\.[0-9]\+\.[0-9]\+/\ \"version-string\":${DEBIAN_VERSION}/g" ${SOURCE_DIR}/vcpkg.json
fi

MAJOR_VERSION=`echo ${DEBIAN_VERSION}|cut -d "." -f 1`
#sed -i "s/android:versionCode=.*android/android:versionCode=\"${MAJOR_VERSION}\" android/g" ${SOURCE_DIR}/App/android/AndroidManifest.xml
Expand Down

0 comments on commit ecfb533

Please sign in to comment.