Skip to content

Commit

Permalink
release: v0.1.47 (#157)
Browse files Browse the repository at this point in the history
* chore: prevent github actions from publishing windows' release

* fix: update version

* chore: prevent azure from running on pr's
  • Loading branch information
2fd committed Mar 14, 2023
1 parent c969381 commit 7736682
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .azure/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ trigger:
- '*'
branches:
exclude:
- main
- '*'

pr: none

pool:
vmImage: windows-latest
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "explorer-desktop-launcher",
"version": "0.1.46",
"version": "0.1.47",
"author": "decentraland",
"description": "Decentraland Desktop Launcher",
"homepage": ".",
Expand Down Expand Up @@ -142,4 +142,4 @@
"last 1 safari version"
]
}
}
}

0 comments on commit 7736682

Please sign in to comment.