Skip to content

Commit

Permalink
save version on the updating
Browse files Browse the repository at this point in the history
  • Loading branch information
aisnote committed Aug 27, 2023
1 parent ad4b60d commit 8176edd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,6 @@ For google play store.
# Deploy


> ./deploy.sh "h:/myproject/lomoware/lomo-android-v232/app/release/" "com.lomoware.lomorage-v31(0.857)-release" 31
> ./deploy.sh "h:/myproject/lomoware/lomo-android/app/release/" "com.lomoware.lomorage-v56(0.992)-release" 56
> ./deploy-dev.sh "/h/myproject/lomoware/lomo-android/app/release/" "com.lomoware.lomorage-v41(0.944)-release"
> ./deploy-dev.sh "/h/myproject/lomoware/lomo-android/app/release/" "com.lomoware.lomorage-v49(0.985)-release"
14 changes: 11 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ version_code=$3
release_time=$now

homepage='/h/myproject/lomoware/homepage'
lomosw_path='/h/myproject/lomoware/lomosw-new/android'

echo "orig_apk_path="$orig_apk_path
if [[ "$orig_apk_path" == "" ]]; then
Expand Down Expand Up @@ -44,9 +45,16 @@ mv "./"$orig_apk_file".apk" "./"$release_apk_file



tag="release/${version_code}"
tag="latest_release"
hub release delete $tag
hub release create -a $release_apk_file -m "latest release ($tag) $now" $tag
hub release create -a $release_apk_file -m "latest release/${version_code} ($tag) $now" $tag

cd $homepage
./updatever.sh -p android -D $version_code -T $release_time
./updatever.sh -p android -D $version_code -T $release_time


# copy from

cp -f $orig_apk_file_path ${lomosw_path}/lomorage.apk

cd $lomosw_path

0 comments on commit 8176edd

Please sign in to comment.