From 7736682928c6ccc4608a71a5cae9262a2e5066ba Mon Sep 17 00:00:00 2001 From: frami Date: Tue, 14 Mar 2023 14:07:45 -0600 Subject: [PATCH] release: v0.1.47 (#157) * chore: prevent github actions from publishing windows' release * fix: update version * chore: prevent azure from running on pr's --- .azure/azure-pipelines.yml | 4 +++- .github/workflows/build.yml | 17 +++++++++++------ .github/workflows/main.yml | 1 + package.json | 4 ++-- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index b1c23b7..c5b4af5 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -10,7 +10,9 @@ trigger: - '*' branches: exclude: - - main + - '*' + +pr: none pool: vmImage: windows-latest diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f43ff88..5fc6a53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,14 +34,17 @@ jobs: - name: Install run: npm install + - name: Test run: npm run test + - name: Build if: github.ref != 'refs/heads/main' env: GITHUB_TOKEN: ${{ secrets.github_token }} run: | npm run build + - name: Publish if: ${{ github.ref == 'refs/heads/main' && matrix.os != 'windows' }} env: @@ -55,12 +58,14 @@ jobs: GITHUB_TOKEN: ${{ secrets.github_token }} run: | npm run build:appx - - name: Publish AppX - if: ${{ github.ref == 'refs/heads/main' && matrix.os == 'windows' }} - env: - GITHUB_TOKEN: ${{ secrets.github_token }} - run: | - npm run publish:appx + + # MOVED OUT TO AZURE + # - name: Publish AppX + # if: ${{ github.ref == 'refs/heads/main' && matrix.os == 'windows' }} + # env: + # GITHUB_TOKEN: ${{ secrets.github_token }} + # run: | + # npm run publish:appx - name: Extract branch name uses: vazco/github-actions-branch-name@v1 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1e6a28c..f35a067 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,7 @@ jobs: - name: Extract branch name uses: vazco/github-actions-branch-name@v1 id: branch + - name: Comment PR if: ${{ github.event.pull_request.head.repo.full_name == 'decentraland/explorer-desktop-launcher' }} # Not a fork uses: thollander/actions-comment-pull-request@main diff --git a/package.json b/package.json index 31bb3dc..27a2198 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "explorer-desktop-launcher", - "version": "0.1.46", + "version": "0.1.47", "author": "decentraland", "description": "Decentraland Desktop Launcher", "homepage": ".", @@ -142,4 +142,4 @@ "last 1 safari version" ] } -} \ No newline at end of file +}