Skip to content

Commit

Permalink
Modify deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Feb 19, 2024
1 parent 72df15d commit 8166a6f
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
SOURCE_DIR: ${{github.workspace}}/.cache/source
TOOSL_DIR: ${{github.workspace}}/.cache/tools
INSTALL_DIR: ${{github.workspace}}/.cache/install_${{matrix.BUILD_TYPE}}
LunarCalendar_VERSION: v1.0.0
LunarCalendar_VERSION: v1.0.1
VCPKGGITCOMMITID: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
ANDROID_PLATFORM: android-23
ANDROID_NATIVE_API_LEVEL: 23
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: build
env:
artifact_path: artifact_path
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LunarCalendar_VERSION: v1.0.0
LunarCalendar_VERSION: v1.0.1

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
TOOSL_DIR: ${{github.workspace}}/.cache/tools
INSTALL_DIR: ${{github.workspace}}/.cache/install_doxygen
DOXYGEN_VERSION: 1.9.8
LunarCalendar_VERSION: v1.0.0
LunarCalendar_VERSION: v1.0.1
artifact_name: build_doxygen

# Map the job outputs to step outputs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
INSTALL_DIR: ${{github.workspace}}/.cache/install_macos
qt_modules: qtwebengine ${{matrix.qt_modules}}
VCPKGGITCOMMITID: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
LunarCalendar_VERSION: v1.0.0
LunarCalendar_VERSION: v1.0.1
artifact_name: build_macos

# Map the job outputs to step outputs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
TOOSL_DIR: ${{github.workspace}}\.cache\tools
INSTALL_DIR: ${{github.workspace}}\.cache\install_mingw
artifact_name: build_mingw
LunarCalendar_VERSION: v1.0.0
LunarCalendar_VERSION: v1.0.1

# Map the job outputs to step outputs
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
CMAKE_GENERATOR: "Visual Studio 17 2022"
VCPKG_PLATFORM_TOOLSET: ${{matrix.VCPKG_PLATFORM_TOOLSET}}
CMAKE_GENERATOR_PLATFORM: ${{matrix.CMAKE_GENERATOR_PLATFORM}}
LunarCalendar_VERSION: v1.0.0
LunarCalendar_VERSION: v1.0.1
VCPKGGITCOMMITID: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
qt_modules: qtwebengine ${{matrix.qt_modules}}
artifact_name: build_msvc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
SOURCE_DIR: ${{github.workspace}}/.cache/source
TOOSL_DIR: ${{github.workspace}}/.cache/tools
INSTALL_DIR: ${{github.workspace}}/.cache/install_ubuntu
LunarCalendar_VERSION: 1.0.0
LunarCalendar_VERSION: 1.0.1
artifact_name: build_ubuntu

# Map the job outputs to step outputs
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ before_install:
- sudo Xvfb :99 -ac &
- export DISPLAY=:99.0
- mkdir -p ${SOURCE_DIR}/Tools
- export VERSION="v1.0.0"
- export VERSION="v1.0.1"

install:
- cd ${SOURCE_DIR}
Expand Down
2 changes: 1 addition & 1 deletion App/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.KangLinStudio.LunarCalendar"
android:installLocation="auto"
android:versionName="1.0.0"
android:versionName="1.0.1"
android:versionCode="0">

<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="24"/>
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ endif()
GET_VERSION(OUT_VERSION LunarCalendar_VERSION
OUT_REVISION LunarCalendar_REVISION)
if(NOT LunarCalendar_VERSION)
SET(LunarCalendar_VERSION "v1.0.0")
SET(LunarCalendar_VERSION "v1.0.1")
endif()
message("LunarCalendar_VERSION:${LunarCalendar_VERSION}")

Expand Down
2 changes: 1 addition & 1 deletion Install/Install.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "LunarCalendar"
!define PRODUCT_APP_NAME "LunarCalendarApp"
!define PRODUCT_VERSION "v1.0.0"
!define PRODUCT_VERSION "v1.0.1"
!define PRODUCT_PUBLISHER "KangLin studio"
!define PRODUCT_WEB_SITE "https://github.com/KangLin/${PRODUCT_NAME}"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${PRODUCT_NAME}.exe"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ please compile and test the students with the corresponding equipment.
- Ubuntu: *.deb
- Windows: *.exe
- Android: *.apk
- Documents: [LunarCalendar_v1.0.0_document.zip](https://github.com/KangLin/LunarCalendar/releases/download/v1.0.0/LunarCalendar_v1.0.0_document.zip)
- Documents: [LunarCalendar_v1.0.1_document.zip](https://github.com/KangLin/LunarCalendar/releases/download/v1.0.1/LunarCalendar_v1.0.1_document.zip)

### Compile

Expand Down
2 changes: 1 addition & 1 deletion README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Mac os 和 IOS ,本人没有相应设备,请有相应设备的同学自己
- Ubuntu: *.deb
- Windows: *.exe
- Android: *.apk
- 文档:[LunarCalendar_v1.0.0_document.zip](https://github.com/KangLin/LunarCalendar/releases/download/v1.0.0/LunarCalendar_v1.0.0_document.zip)
- 文档:[LunarCalendar_v1.0.1_document.zip](https://github.com/KangLin/LunarCalendar/releases/download/v1.0.1/LunarCalendar_v1.0.1_document.zip)

### 文档

Expand Down
2 changes: 1 addition & 1 deletion Src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ endif()
GET_VERSION(OUT_VERSION LunarCalendar_VERSION
OUT_REVISION LunarCalendar_REVISION)
if(NOT LunarCalendar_VERSION)
SET(LunarCalendar_VERSION "v1.0.0")
SET(LunarCalendar_VERSION "v1.0.1")
endif()
message("LunarCalendar_VERSION:${LunarCalendar_VERSION}")
message("LunarCalendar_REVISION:${LunarCalendar_REVISION}")
Expand Down
2 changes: 1 addition & 1 deletion Update/update.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<REDIRECT>
<VERSION>v1.0.0</VERSION>
<VERSION>v1.0.1</VERSION>
</REDIRECT>
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 'v1.0.0.{build}'
version: 'v1.0.1.{build}'

cache:
- C:\projects\other_source
Expand Down
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lunarcalendar (1.0.1) unstable; urgency=medium

* Modify debian package

-- Kang Lin <[email protected]> Sat, 20 Apr 2019 19:53:02 -0700

-- Kang Lin <[email protected]> Mon, 19 Feb 2024 14:41:26 +0800
3 changes: 1 addition & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ sed -i "s/ SET(LunarCalendar_VERSION.*/ SET(LunarCalendar_VERSION \"${VERS
sed -i "s/^\!define PRODUCT_VERSION.*/\!define PRODUCT_VERSION \"${VERSION}\"/g" ${SOURCE_DIR}/Install/Install.nsi
sed -i "s/^version: '.*{build}'/version: '${VERSION}.{build}'/g" ${SOURCE_DIR}/appveyor.yml
sed -i "s/^\ - export VERSION=.*/\ - export VERSION=\"${VERSION}\"/g" ${SOURCE_DIR}/.travis.yml
sed -i "s/LunarCalendar_VERSION:.*/LunarCalendar_VERSION: \"${VERSION}\"/g" ${SOURCE_DIR}/appveyor.yml
sed -i "s/export VERSION=".*"/export VERSION=\"${VERSION}\"/g" ${SOURCE_DIR}/ci/build.sh
sed -i "s/LunarCalendar_VERSION=.*/LunarCalendar_VERSION=\"${VERSION}\"/g" ${SOURCE_DIR}/appveyor.yml
sed -i "s/<VERSION>.*</<VERSION>${VERSION}</g" ${SOURCE_DIR}/Update/update.xml
sed -i "s/LunarCalendar_VERSION:.*/LunarCalendar_VERSION: ${VERSION}/g" ${SOURCE_DIR}/.github/workflows/msvc.yml
sed -i "s/LunarCalendar_VERSION:.*/LunarCalendar_VERSION: ${VERSION}/g" ${SOURCE_DIR}/.github/workflows/build.yml
Expand Down

0 comments on commit 8166a6f

Please sign in to comment.