Skip to content

Commit

Permalink
09-16-2024 update
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsharkboy committed Sep 17, 2024
1 parent 784e59b commit 42e847e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ Device maintainer: 0xsharkboy
- August security patch
- Switched to San Kernel R1.1 (linux 4.19)
- Replaced AudioFX with Dolby Atmos

===== 16th September, 2024 =====
- September security patch
- Reserved more space for addons (ex: MindTheGapps)
- Merged latest San Kernel
30 changes: 15 additions & 15 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ RELASE_TAG=${DEVICE}_lineage-${VERSION}_${TIMESTAMP}

URL="https://github.com/0xsharkboy/Lineage_OTA/releases/download/${RELASE_TAG}/${FILENAME}"

response=$(jq -n --arg datetime $TIMESTAMP \
--arg filename $FILENAME \
--arg id $ID \
--arg romtype $ROMTYPE \
--arg size $SIZE \
--arg url $URL \
--arg version $VERSION \
'$ARGS.named'
)
wrapped_response=$(jq -n --argjson response "[$response]" '$ARGS.named')

echo "$wrapped_response" > $DEVICE.json
git add $DEVICE.json changelog.txt
git commit -m "Update autogenerated json for $DEVICE $VERSION ${DATE}/${TIMESTAMP}"
git push
#response=$(jq -n --arg datetime $TIMESTAMP \
# --arg filename $FILENAME \
# --arg id $ID \
# --arg romtype $ROMTYPE \
# --arg size $SIZE \
# --arg url $URL \
# --arg version $VERSION \
# '$ARGS.named'
#)
#wrapped_response=$(jq -n --argjson response "[$response]" '$ARGS.named')
#
#echo "$wrapped_response" > $DEVICE.json
#git add $DEVICE.json changelog.txt
#git commit -m "Update autogenerated json for $DEVICE $VERSION ${DATE}/${TIMESTAMP}"
#git push

gh release create $RELASE_TAG $ROM --notes "Automated release for $DEVICE $VERSION ${DATE}/${TIMESTAMP}"

0 comments on commit 42e847e

Please sign in to comment.