From f7af2db1b57967068d653ed4801e5bca2e03f873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Mon, 28 Dec 2020 16:14:32 +0100 Subject: [PATCH] Replace text --- .github/workflows/upload-on-tag.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upload-on-tag.yaml b/.github/workflows/upload-on-tag.yaml index b998d523..33924b4d 100644 --- a/.github/workflows/upload-on-tag.yaml +++ b/.github/workflows/upload-on-tag.yaml @@ -44,6 +44,7 @@ jobs: prerelease: ${{ endsWith(github.ref, '-dev') }} body_path: changelog.md - name: Upload binaries to release + id: upload uses: svenstaro/upload-release-action@v1-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} @@ -69,4 +70,6 @@ jobs: result-encoding: string - name: Create branch run: git checkout -b ${{ steps.get_branch.outputs.result }} - \ No newline at end of file + - name: Create add-on url + run: | + ((Get-Content get.php - Raw) -GReplace ("rf" >= )(.*?$), \1buildAndUpload.upload.browser_download_url$) | Set-Content -path get.php