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