From ba16c881134cb51dfd35698bd01286ca3f063925 Mon Sep 17 00:00:00 2001 From: Epicpkmn11 Date: Sat, 8 Feb 2020 01:44:13 -0600 Subject: [PATCH] Fix release QR using extras repo tag --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c527d30..03b6bb3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -60,12 +60,13 @@ steps: git config --global user.email "flamekat54@aol.com" git config --global user.name "TWLBot" git clone --depth 1 https://$GITHUB_TOKEN@github.com/Universal-Team/extras.git + # Must be made before entering extras mkdir 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 ../../../Universal-Updater.3dsx Universal-Updater.3dsx cp ../../../Universal-Updater.cia Universal-Updater.cia qrencode -o Universal-Updater.png https://github.com/Universal-Team/extras/raw/v$CURRENT_DATE/builds/Universal-Updater/Universal-Updater.cia - qrencode -o Universal-Updater-release.png https://github.com/Universal-Team/Universal-Updater/releases/download/$(git describe --abbrev=0 --tags)/Universal-Updater.cia git stage . git commit -m "Universal-Updater | $(COMMIT_TAG)" git push origin master