@@ -17,7 +17,6 @@ track=$(python3 track.py "$branch")
1717
1818git add .
1919git commit -m " release: making release"
20-
2120git tag -f " ${tagVersion} "
2221
2322# ./gradlew clean assembleRelease
@@ -37,26 +36,26 @@ apksigner sign --ks app/keys/app-release-key.jks \
3736# This will now stop the script immediately if diffoscope fails
3837diffoscope apk-outputs/" $label " .apk app/build/outputs/apk/release/" $label " .apk
3938
40- # ./gradlew assemble bundleRelease
41- # apksigner sign --ks app/keys/app-release-key.jks \
42- # --ks-pass pass:"$1" \
43- # --in app/build/outputs/bundle/release/app-release.aab \
44- # --out app/build/outputs/bundle/release/app-bundle.aab \
45- # --min-sdk-version "$MIN_SDK"
46- #
47- # git push origin "$branch"
48- # git push --tag
49- #
50- # venv/bin/python release.py \
51- # --version_code "${tagVersion}" \
52- # --version_name "${label}" \
53- # --description "<b>Release</b>: ${label}<br><b>Build No</b>: ${tagVersion}<br><b>shasum</b>: $(shasum apk-outputs/${label}.apk)" \
54- # --branch "${branch}" \
55- # --track "${track}" \
56- # --app_bundle_file app/build/outputs/bundle/release/app-bundle.aab \
57- # --app_apk_file app/build/outputs/apk/release/"${label}".apk \
58- # --status "completed" \
59- # --platforms "all" \
60- # --github_url "${github_url}"
61- #
62- # rm apk-outputs/"$label".apk
39+ ./gradlew assemble bundleRelease
40+ apksigner sign --ks app/keys/app-release-key.jks \
41+ --ks-pass pass:" $1 " \
42+ --in app/build/outputs/bundle/release/app-release.aab \
43+ --out app/build/outputs/bundle/release/app-bundle.aab \
44+ --min-sdk-version " $MIN_SDK "
45+
46+ git push origin " $branch "
47+ git push --tag
48+
49+ venv/bin/python release.py \
50+ --version_code " ${tagVersion} " \
51+ --version_name " ${label} " \
52+ --description " <b>Release</b>: ${label} <br><b>Build No</b>: ${tagVersion} <br><b>shasum</b>: $( shasum apk-outputs/${label} .apk) " \
53+ --branch " ${branch} " \
54+ --track " ${track} " \
55+ --app_bundle_file app/build/outputs/bundle/release/app-bundle.aab \
56+ --app_apk_file app/build/outputs/apk/release/" ${label} " .apk \
57+ --status " completed" \
58+ --platforms " all" \
59+ --github_url " ${github_url} "
60+
61+ rm apk-outputs/" $label " .apk
0 commit comments