Last active
February 8, 2022 17:30
-
-
Save ArianK16a/6004709bd8dd46e9668d8c1675d1e119 to your computer and use it in GitHub Desktop.
Revisions
-
ArianK16a revised this gist
Feb 8, 2022 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -86,6 +86,8 @@ build () { extra_arguments="-c -1001426238293" elif [ "$1" = "toco" ]; then extra_arguments="-c -1001443889354" elif [ "$1" = "violet" ]; then extra_arguments="-c -1001656828188" fi telegram $extra_arguments "Nightlies compilation for "$1" failed!" exit -1 @@ -193,6 +195,10 @@ release () { name="for Mi Note 10 Lite " group="@lineage\_toco" extra_arguments="-c -1001443889354" elif [ "$device" = "violet" ]; then name="for Redmi Note 7 Pro " group="@LineageViolet" extra_arguments="-c -1001656828188" else extra_arguments="-c -1001159030901" group="#"$device"" -
ArianK16a revised this gist
Feb 3, 2022 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -60,8 +60,7 @@ build () { if [ "$DEBUG_BUILD" = 1 ]; then make installclean else make clean fi telegram -N -M "*(i)* \`"$(basename $LOCAL_PATH)"\` compilation for \`"$1"\` *started* on "$HOSTNAME"." build_start=$(date +"%s") -
ArianK16a revised this gist
Feb 3, 2022 . 1 changed file with 10 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -199,23 +199,23 @@ release () { group="#"$device"" fi telegram $extra_arguments -M " \ *New LineageOS 18.1 build ${name}available! * 💬 Variant: \`${type}\` *Download* ⬇️ [${project}](${download_link}) ⬇️ [recovery](${recovery_download_link}) ✅ [checksum](${checksum_link}): \`${checksum}\` 🚧 [Changelog](${changelog_link}) *Build stats* ⌛ Time: \`${time}\` 🗣️ User: \`${USERNAME}\` 💻 Host: \`${HOSTNAME}\` ${group} " update_ota "$device" "$project" "$3" # TMP change this to make clean again -
ArianK16a revised this gist
Jan 23, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -205,7 +205,7 @@ release () { *Download* ⬇️ ["$project"]("$download_link") ⬇️ [recovery]("$recovery_download_link") ✅ [checksum]("$checksum_link"): \`"$checksum"\` 🚧 [Changelog]("$changelog_link") -
ArianK16a revised this gist
Jan 22, 2022 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -75,6 +75,10 @@ build () { if [ -f $LOCAL_PATH/.last_build_time ] && ([[ $(ls $OUT/obj/PACKAGING/target_files_intermediates/*-target_files-*.zip) ]] || [[ $(ls "$OUT"/lineage-*-"$1".zip) ]]); then if [ "$signed" = 1 ]; then sign_target_files recovery_filename=$(cat "$OUT"/recovery/root/prop.default | grep ro.lineage.version=) recovery_filename="${recovery_filename#*=}" recovery_filename=lineage_recovery-"$recovery_filename".img unzip -p $OUT/signed-target_files-"$filename" IMAGES/recovery.img > $OUT/$recovery_filename fi upload "$1" "$2" "$3" else @@ -146,6 +150,8 @@ upload () { rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip.sha256sum ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ rsync -Ph out/target/product/"$1"/"$recovery_filename" ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/recovery/"$project"/ if [[ "$2" = "test" ]]; then release_experimental "$1" "$project" "$3" elif [ "$DEBUG_BUILD" = 0 ]; then @@ -165,6 +171,7 @@ release () { fi download_link="https://sourceforge.net/projects/ephedraceae/files/"$1"/"$2"/$(basename $(ls out/target/product/"$1"/lineage-*-"$1".zip))" recovery_download_link="https://sourceforge.net/projects/ephedraceae/files/"$1"/recovery/"$2"/$(basename $(ls out/target/product/"$1"/lineage_recovery-*-"$1".img))" time="$(cat $LOCAL_PATH/.last_build_time)" checksum="$(cat "$LOCAL_PATH"/out/target/product/"$1"/lineage-*-"$1".zip.sha256sum | awk '{print $1}')" checksum_link="$download_link".sha256sum @@ -198,6 +205,7 @@ release () { *Download* ⬇️ ["$project"]("$download_link") ⬇️ ["lineage recovery"]("$recovery_download_link") ✅ [checksum]("$checksum_link"): \`"$checksum"\` 🚧 [Changelog]("$changelog_link") -
ArianK16a revised this gist
Jan 19, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -211,7 +211,7 @@ release () { " update_ota "$device" "$project" "$3" # TMP change this to make clean again #make installclean } # release device project gapps -
ArianK16a revised this gist
Jan 19, 2022 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -192,7 +192,7 @@ release () { group="#"$device"" fi telegram $extra_arguments -M " \ *New LineageOS 18.1 build "$name"available! * 💬 Variant: \`"$type"\` @@ -239,7 +239,7 @@ release_experimental () { if [ "$1" = "davinci" ]; then telegram -c -1001426238293 -M " \ *New LineageOS 18.1 build for Mi 9T available! * 💬 Variant: \`EXPERIMENTAL "$type"\` *Download* ⬇️ ["$project"]("$download_link") @@ -249,7 +249,7 @@ release_experimental () { " elif [ "$1" = "toco" ]; then telegram -c -1001426238293 -M " \ *New LineageOS 18.1 build for Mi Note 10 Lite available! 💬 Variant: \`EXPERIMENTAL "$type"\` *Download* ⬇️ ["$project"]("$download_link") -
ArianK16a revised this gist
Jan 19, 2022 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -192,7 +192,7 @@ release () { group="#"$device"" fi telegram $extra_arguments -M " \ *New LineageOS 18.1 build "$name"available\!* 💬 Variant: \`"$type"\` @@ -239,7 +239,7 @@ release_experimental () { if [ "$1" = "davinci" ]; then telegram -c -1001426238293 -M " \ *New LineageOS 18.1 build for Mi 9T available\!* 💬 Variant: \`EXPERIMENTAL "$type"\` *Download* ⬇️ ["$project"]("$download_link") @@ -249,7 +249,7 @@ release_experimental () { " elif [ "$1" = "toco" ]; then telegram -c -1001426238293 -M " \ *New LineageOS 18.1 build for Mi Note 10 Lite available\!* 💬 Variant: \`EXPERIMENTAL "$type"\` *Download* ⬇️ ["$project"]("$download_link") -
ArianK16a revised this gist
Jan 19, 2022 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -60,7 +60,8 @@ build () { if [ "$DEBUG_BUILD" = 1 ]; then make installclean else # TMP change this to make clean again make installclean fi telegram -N -M "*(i)* \`"$(basename $LOCAL_PATH)"\` compilation for \`"$1"\` *started* on "$HOSTNAME"." build_start=$(date +"%s") @@ -209,7 +210,8 @@ release () { "$group" " update_ota "$device" "$project" "$3" # TMP change this to make clean again make installclean } # release device project gapps -
ArianK16a revised this gist
Jan 19, 2022 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -77,11 +77,11 @@ build () { fi upload "$1" "$2" "$3" else extra_arguments="" if [ "$1" = "davinci" ]; then extra_arguments="-c -1001426238293" elif [ "$1" = "toco" ]; then extra_arguments="-c -1001443889354" fi telegram $extra_arguments "Nightlies compilation for "$1" failed!" exit -1 -
ArianK16a revised this gist
Jan 19, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,7 +71,7 @@ build () { brunch "$1" fi build_result "$1" "$3" if [ -f $LOCAL_PATH/.last_build_time ] && ([[ $(ls $OUT/obj/PACKAGING/target_files_intermediates/*-target_files-*.zip) ]] || [[ $(ls "$OUT"/lineage-*-"$1".zip) ]]); then if [ "$signed" = 1 ]; then sign_target_files fi -
ArianK16a revised this gist
Jan 19, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,7 +71,7 @@ build () { brunch "$1" fi build_result "$1" "$3" if [ -f $LOCAL_PATH/.last_build_time ] && ([[ $(ls $OUT/ob/PACKAGING/target_files_intermediates/*-target_files-*.zip) ]] || [[ $(ls "$OUT"/lineage-*-"$1".zip) ]]); then if [ "$signed" = 1 ]; then sign_target_files fi -
ArianK16a revised this gist
Jan 18, 2022 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -83,7 +83,7 @@ build () { elif [ "$1" = "toco" ]; then extra_argument="-c -1001443889354" fi telegram $extra_arguments "Nightlies compilation for "$1" failed!" exit -1 fi } @@ -190,7 +190,7 @@ release () { extra_arguments="-c -1001159030901" group="#"$device"" fi telegram $extra_arguments -M " \ *New LineageOS 18.1 build "$name"available!* 💬 Variant: \`"$type"\` -
ArianK16a revised this gist
Dec 29, 2021 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,10 +9,10 @@ export USERNAME=arian export HOSTNAME=server LOCAL_PATH="$(pwd)" if [ "$DEBUG_BUILD" = 1 ]; then signed=0 else signed=1 fi telegram () { @@ -47,7 +47,7 @@ prepare_gapps () { # build device releasetype gapps build () { prepare if [ "$DEBUG_BUILD" = 0 ]; then repo sync --force-sync -q bash "$LOCAL_PATH"/picks.sh fi @@ -57,22 +57,22 @@ build () { prepare_vanilla fi breakfast "$1" if [ "$DEBUG_BUILD" = 1 ]; then make installclean else make clean fi telegram -N -M "*(i)* \`"$(basename $LOCAL_PATH)"\` compilation for \`"$1"\` *started* on "$HOSTNAME"." build_start=$(date +"%s") if [ "$signed" = 1 ]; then breakfast "$1" mka target-files-package otatools else brunch "$1" fi build_result "$1" "$3" if [ -f $LOCAL_PATH/.last_build_time ] & [ -f "$OUT"/lineage-*-"$1".zip ]; then if [ "$signed" = 1 ]; then sign_target_files fi upload "$1" "$2" "$3" @@ -147,7 +147,7 @@ upload () { if [[ "$2" = "test" ]]; then release_experimental "$1" "$project" "$3" elif [ "$DEBUG_BUILD" = 0 ]; then release "$1" "$project" "$3" fi } -
ArianK16a revised this gist
Dec 29, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -64,15 +64,15 @@ build () { fi telegram -N -M "*(i)* \`"$(basename $LOCAL_PATH)"\` compilation for \`"$1"\` *started* on "$HOSTNAME"." build_start=$(date +"%s") if [ "$signed" ]; then breakfast "$1" mka target-files-package otatools else brunch "$1" fi build_result "$1" "$3" if [ -f $LOCAL_PATH/.last_build_time ] & [ -f "$OUT"/lineage-*-"$1".zip ]; then if [ "$signed" ]; then sign_target_files fi upload "$1" "$2" "$3" -
ArianK16a revised this gist
Dec 29, 2021 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export USERNAME=arian export HOSTNAME=server LOCAL_PATH="$(pwd)" if [ "$DEBUG_BUILD" ]; then signed=false else signed=true @@ -47,7 +47,7 @@ prepare_gapps () { # build device releasetype gapps build () { prepare if [ ! "$DEBUG_BUILD" ]; then repo sync --force-sync -q bash "$LOCAL_PATH"/picks.sh fi @@ -57,7 +57,7 @@ build () { prepare_vanilla fi breakfast "$1" if [ "$DEBUG_BUILD" ]; then make installclean else make clean @@ -147,7 +147,7 @@ upload () { if [[ "$2" = "test" ]]; then release_experimental "$1" "$project" "$3" elif [ ! "$DEBUG_BUILD" ]; then release "$1" "$project" "$3" fi } @@ -389,4 +389,4 @@ update_changelog () { if [ -f env_overwrite.sh ]; then source env_overwrite.sh fi -
ArianK16a revised this gist
Dec 28, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ else fi telegram () { /home/arian/telegram.sh/telegram "$@" } prepare () { -
ArianK16a revised this gist
Dec 27, 2021 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -47,8 +47,10 @@ prepare_gapps () { # build device releasetype gapps build () { prepare if [ "DEBUG_BUILD" != "true" ]; then repo sync --force-sync -q bash "$LOCAL_PATH"/picks.sh fi if [ "$3" = "gapps" ]; then prepare_gapps else -
ArianK16a revised this gist
Dec 27, 2021 . 1 changed file with 11 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,11 @@ export USERNAME=arian export HOSTNAME=server LOCAL_PATH="$(pwd)" if [ "DEBUG_BUILD" = "true" ]; then signed=false else signed=true fi telegram () { /home/arian/telegram.sh/telegram "$1" "$2" "$3" "$4" "$5" @@ -51,8 +55,11 @@ build () { prepare_vanilla fi breakfast "$1" if [ "DEBUG_BUILD" = "true" ]; then make installclean else make clean fi telegram -N -M "*(i)* \`"$(basename $LOCAL_PATH)"\` compilation for \`"$1"\` *started* on "$HOSTNAME"." build_start=$(date +"%s") if [ signed ]; then @@ -138,7 +145,7 @@ upload () { if [[ "$2" = "test" ]]; then release_experimental "$1" "$project" "$3" elif [ "DEBUG_BUILD" != "true" ]; then release "$1" "$project" "$3" fi } -
ArianK16a revised this gist
Dec 27, 2021 . 1 changed file with 37 additions and 62 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,8 @@ #!/bin/bash # # Copyright (C) 2019-2021 ArianK16a # # SPDX-License-Identifier: Apache-2.0 # export USERNAME=arian @@ -72,19 +62,19 @@ build () { brunch "$1" fi build_result "$1" "$3" if [ -f $LOCAL_PATH/.last_build_time ] & [ -f "$OUT"/lineage-*-"$1".zip ]; then if [ signed ]; then sign_target_files fi upload "$1" "$2" "$3" else extra_argument="" if [ "$1" = "davinci" ]; then extra_argument="-c -1001426238293" elif [ "$1" = "toco" ]; then extra_argument="-c -1001443889354" fi telegram "$extra_arguments" "Nightlies compilation for "$1" failed!" exit -1 fi } @@ -108,11 +98,12 @@ build_result () { type="VANILLA" fi if [ "$result" = "0" ]; then echo "$time" > $LOCAL_PATH/.last_build_time message="completed successfully" else message="failed" fi telegram -M "*(i)* \`"$(basename $LOCAL_PATH)"\` compilation for \`"$1"\` *$message* on "$HOSTNAME". Build variant: \`$type\`. Build time: \`$time\`." } sign_target_files () { @@ -140,12 +131,14 @@ upload () { project="$(basename $LOCAL_PATH)" if [[ "$2" = "test" ]]; then project="$project-experimental" fi rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip.sha256sum ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ if [[ "$2" = "test" ]]; then release_experimental "$1" "$project" "$3" else release "$1" "$project" "$3" fi } @@ -173,51 +166,39 @@ release () { fi changelog_link=https://raw.githubusercontent.com/arian-ota/changelog/"$project"/"$device_variant".txt extra_arguments="" name="" group="" if [ "$device" = "davinci" ]; then name="for Mi 9T " group="@StarWarsFlowers" extra_arguments="-c -1001426238293" elif [ "$device" = "toco" ]; then name="for Mi Note 10 Lite " group="@lineage\_toco" extra_arguments="-c -1001443889354" else extra_arguments="-c -1001159030901" group="#"$device"" fi telegram "$extra_arguments" -M " \ *New LineageOS 18.1 build "$name"available!* 💬 Variant: \`"$type"\` *Download* ⬇️ ["$project"]("$download_link") ✅ [checksum]("$checksum_link"): \`"$checksum"\` 🚧 [Changelog]("$changelog_link") *Build stats* ⌛ Time: \`$time\` 🗣️ User: \`$USERNAME\` 💻 Host: \`$HOSTNAME\` "$group" " update_ota "$device" "$project" "$3" make clean } @@ -249,26 +230,20 @@ release_experimental () { telegram -c -1001426238293 -M " \ *New LineageOS 18.1 build for Mi 9T available!* 💬 Variant: \`EXPERIMENTAL "$type"\` *Download* ⬇️ ["$project"]("$download_link") ✅ [checksum]("$checksum_link") 🚧 [Changelog]("$changelog_link") @StarWarsFlowers " elif [ "$1" = "toco" ]; then telegram -c -1001426238293 -M " \ *New LineageOS 18.1 build for Mi Note 10 Lite available!* 💬 Variant: \`EXPERIMENTAL "$type"\` *Download* ⬇️ ["$project"]("$download_link") ✅ [checksum]("$checksum_link") 🚧 [Changelog]("$changelog_link") @StarWarsFlowers " fi -
ArianK16a revised this gist
Nov 4, 2021 . 1 changed file with 14 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -129,8 +129,8 @@ sign_target_files () { $OUT/signed-target_files-"$filename" \ $OUT/"$filename" checksum=$(sha256sum "$OUT"/"$filename" | awk '{print $1}') echo ""$checksum" "$filename"" > $OUT/"$filename".sha256sum } # upload device releasetype gapps upload () { @@ -141,11 +141,11 @@ upload () { if [[ "$2" = "test" ]]; then project="$project-experimental" rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip.sha256sum ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ release_experimental "$1" "$project" "$3" else rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ rsync -Ph out/target/product/"$1"/lineage-*-"$1".zip.sha256sum ariank16a@frs.sourceforge.net:/home/frs/project/ephedraceae/"$1"/"$project"/ release "$1" "$project" "$3" fi } @@ -163,8 +163,8 @@ release () { download_link="https://sourceforge.net/projects/ephedraceae/files/"$1"/"$2"/$(basename $(ls out/target/product/"$1"/lineage-*-"$1".zip))" time="$(cat $LOCAL_PATH/.last_build_time)" checksum="$(cat "$LOCAL_PATH"/out/target/product/"$1"/lineage-*-"$1".zip.sha256sum | awk '{print $1}')" checksum_link="$download_link".sha256sum if [ "$3" = "gapps" ]; then device_variant="$1_gms" @@ -181,7 +181,7 @@ release () { *Download* ⬇️ ["$project"]("$download_link") ✅ [checksum]("$checksum_link") 🚧 [Changelog]("$changelog_link") @@ -195,7 +195,7 @@ elif [ "$device" = "toco" ]; then *Download* ⬇️ ["$project"]("$download_link") ✅ [checksum]("$checksum_link") 🚧 [Changelog]("$changelog_link") @@ -209,7 +209,7 @@ elif [ "$device" = "toco" ]; then *Download* ⬇️ ["$project" for "$device"]("$download_link") ✅ [checksum]("$checksum_link"): \`"$checksum"\` *Build stats* ⌛ Time: \`$time\` @@ -235,8 +235,8 @@ release_experimental () { download_link="https://sourceforge.net/projects/ephedraceae/files/"$1"/"$2"/$(basename $(ls out/target/product/"$1"/lineage-*-"$1".zip))" time="$(cat $LOCAL_PATH/.last_build_time)" checksum="$(cat "$LOCAL_PATH"/out/target/product/"$1"/lineage-*-"$1".zip.sha256sum | awk '{print $1}')" checksum_link="$download_link".sha256sum if [ "$3" = "gapps" ]; then device_variant="$1_gms" @@ -253,7 +253,7 @@ release_experimental () { *Download* ⬇️ ["$project"]("$download_link") ✅ [checksum]("$checksum_link") 🚧 [Changelog]("$changelog_link") @StarWarsFlowers @@ -266,7 +266,7 @@ release_experimental () { *Download* ⬇️ ["$project"]("$download_link") ✅ [checksum]("$checksum_link") 🚧 [Changelog]("$changelog_link") @StarWarsFlowers @@ -302,7 +302,7 @@ update_ota () { filename="${filename#*=}" filename=lineage-"$filename".zip id=$(cat "$OUT"/"$filename".sha256sum | awk '{print $1}') romtype=$(cat "$OUT"/system/build.prop | grep ro.lineage.releasetype=) romtype="${romtype#*=}" -
ArianK16a revised this gist
Jun 30, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -130,7 +130,7 @@ sign_target_files () { $OUT/"$filename" checksum=$(md5sum "$OUT"/"$filename" | awk '{print $1}') echo ""$checksum" "$filename"" > $OUT/"$filename".md5sum } # upload device releasetype gapps upload () { -
ArianK16a revised this gist
Jun 30, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -129,8 +129,8 @@ sign_target_files () { $OUT/signed-target_files-"$filename" \ $OUT/"$filename" checksum=$(md5sum "$OUT"/"$filename" | awk '{print $1}') echo "$checksum $filename" > "$filename".md5sum } # upload device releasetype gapps upload () { -
ArianK16a revised this gist
Jun 30, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -199,7 +199,7 @@ elif [ "$device" = "toco" ]; then 🚧 [Changelog]("$changelog_link") @lineage\_toco " else telegram -c -1001159030901 -N -M " \ -
ArianK16a revised this gist
Jun 24, 2021 . 1 changed file with 0 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -50,17 +50,6 @@ prepare_gapps () { export TARGET_UNOFFICIAL_BUILD_ID=GMS } # build device releasetype gapps build () { prepare @@ -71,9 +60,6 @@ build () { else prepare_vanilla fi breakfast "$1" make clean # make installclean -
ArianK16a revised this gist
May 3, 2021 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -353,8 +353,7 @@ update_ota () { }" > "$device".json git add "$device".json git commit -m "$device: Automatic OTA update" git push git@github.com:arian-ota/ota.git HEAD:"$2" cd $LOCAL_PATH update_changelog $1 $2 $3 -
ArianK16a revised this gist
Apr 2, 2021 . No changes.There are no files selected for viewing
-
ArianK16a revised this gist
Apr 2, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -73,7 +73,7 @@ build () { fi if [ "$1" = "toco" ]; then prepare_toco fi breakfast "$1" make clean # make installclean -
ArianK16a revised this gist
Apr 2, 2021 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -71,12 +71,12 @@ build () { else prepare_vanilla fi if [ "$1" = "toco" ]; then prepare_toco #fi breakfast "$1" make clean # make installclean telegram -N -M "*(i)* \`"$(basename $LOCAL_PATH)"\` compilation for \`"$1"\` *started* on "$HOSTNAME"." build_start=$(date +"%s") if [ signed ]; then @@ -99,7 +99,7 @@ build () { else telegram "Nightlies compilation failed for "$1"!" fi exit -1 fi } @@ -233,7 +233,7 @@ elif [ "$device" = "toco" ]; then #$device" fi update_ota "$device" "$project" "$3" make clean } # release device project gapps -
ArianK16a revised this gist
Apr 2, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -353,7 +353,8 @@ update_ota () { }" > "$device".json git add "$device".json git commit -m "$device: Automatic OTA update" # Disable OTA for now due to changed signature # git push git@github.com:arian-ota/ota.git HEAD:"$2" cd $LOCAL_PATH update_changelog $1 $2 $3
NewerOlder