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 31, 2024
1 parent 8e7f252 commit 1b71ae3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ sed -i "s/ChineseChessControl_VERSION:.*/ChineseChessControl_VERSION: \"${VERSIO
sed -i "s/export VERSION=.*/export VERSION=\"${VERSION}\"/g" ${SOURCE_DIR}/.travis.yml
sed -i "s/v[0-9]\+\.[0-9]\+\.[0-9]\+/${VERSION}/g" ${SOURCE_DIR}/README*.md

sed -i "s/^\Standards-Version:.*/\Standards-Version:\"${VERSION}\"/g" ${SOURCE_DIR}/debian/control
DEBIAN_VERSION=`echo ${VERSION}|cut -d "v" -f 2`
sed -i "s/chinesechess (.*)/chinesechess (${DEBIAN_VERSION})/g" ${SOURCE_DIR}/debian/changelog
sed -i "s/Version=.*/Version=${DEBIAN_VERSION}/g" ${SOURCE_DIR}/Package/share/applications/org.Rabbit.ChineseChess.desktop
Expand Down

0 comments on commit 1b71ae3

Please sign in to comment.