File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22#
3- # reupload file on pixel drain with help of circleci
3+ # login
4+ git config --global user.name " ImSpiDy"
5+ git config --global user.email " SpiDy2713@gmail.com"
46
5- # Remove 0 and enter your file link
6- URL=0
7+ echo $gh_token > mytoken.txt # login in github
8+ gh auth login --with-token < mytoken.txt
79
8- if [ $URL == 0 ]; then
9- exit 0
10- fi
10+ # github release
11+ TAG=LineageExt-15-4.19
1112
12- wget $URL
13+ # download tested builds
14+ gh release download $TAG -p ' lineage-22.1-Ext-Community-lavender-Vanilla-20250327-1253.zip' -R https://github.com/ImSpiDy/Test-Builds
15+ gh release download $TAG -p ' lineage-22.1-Ext-Community-lavender-Gapps-20250327-1321.zip' -R https://github.com/ImSpiDy/Test-Builds
1316
14- FileName=" $( basename $URL ) "
15-
16- wget https://github.com/ManuelReschke/go-pd/releases/download/v1.4.0/go-pd_1.4.0_linux_amd64.tar.gz
17-
18- tar -xf go-pd*
19-
20- ./go-pd upload $FileName
17+ # upload release builds
18+ gh release create LosExt-15-4.19 --generate-notes --repo https://github.com/ImSpiDy/build-release
19+ gh release upload --clobber LosExt-15-4.19 * .zip --repo https://github.com/ImSpiDy/build-release
You can’t perform that action at this time.
0 commit comments