mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-02 16:49:05 +00:00
Fix TWLBot stuff
This commit is contained in:
@@ -71,7 +71,7 @@ jobs:
|
||||
with:
|
||||
name: "build"
|
||||
path: "build"
|
||||
- name: Upload to Universal-Team/Universal-Updater release
|
||||
- name: Upload to ${{ github.repository }} release
|
||||
if: ${{ startsWith(github.ref, 'refs/tags') }}
|
||||
run: |
|
||||
ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
|
||||
@@ -92,15 +92,15 @@ jobs:
|
||||
|
||||
git config --global user.email "flamekat54@aol.com"
|
||||
git config --global user.name "TWLBot"
|
||||
git clone --depth 1 https://${{ secrets.TWLBOT_TOKEN }}@github.com/TWLBot/Builds.git
|
||||
mkdir extras/builds/Universal-Updater/
|
||||
git clone --depth 1 https://${{ secrets.TWLBOT_TOKEN }}@github.com/Universal-Team/extras.git
|
||||
mkdir -p extras/builds/Universal-Updater/
|
||||
qrencode -o extras/builds/Universal-Updater/Universal-Updater-release.png https://github.com/Universal-Team/Universal-Updater/releases/download/$(git describe --abbrev=0 --tags)/Universal-Updater.cia
|
||||
cd extras/builds/Universal-Updater/
|
||||
cp ${{ github.workspace }}/build/* .
|
||||
git stage .
|
||||
git commit -m "Universal Updater | $COMMIT_TAG"
|
||||
git tag v$CURRENT_DATE
|
||||
git push origin v$CURRENT_DATE
|
||||
git push origin master v$CURRENT_DATE
|
||||
echo "::set-output name=twlbot_commit::$(git log --format=%H -1)"
|
||||
- name: Release to Universal-Team/extras
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user