Skip to content

Commit

Permalink
feat: hotfix action
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Jan 8, 2021
1 parent 98c9302 commit bf2bd7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/publish-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ jobs:
- name: Install `app/` packages
run: cd app && yarn --frozen-lockfile --ignore-scripts

- name: Extract version
id: extract_version
uses: Saionaro/[email protected]

- name: Build releases
run: ./node_modules/.bin/cross-env yarn package-${{ matrix.NPM_COMMAND }}
env:
Expand All @@ -101,7 +97,7 @@ jobs:
name: Windows upload
if: matrix.os == 'windows-latest'
with:
name: stacks-wallet-${{ matrix.NPM_COMMAND }}
name: stacks-wallet-${{ matrix.stx_network }}-${{ matrix.NPM_COMMAND }}
path: |
release/**/*.exe
release/**/*.msi
Expand All @@ -110,14 +106,14 @@ jobs:
name: MacOS upload
if: matrix.os == 'macos-latest'
with:
name: stacks-wallet-${{ matrix.NPM_COMMAND }}
name: stacks-wallet-${{ matrix.stx_network }}-${{ matrix.NPM_COMMAND }}
path: release/**/*.dmg

- uses: actions/upload-artifact@v2
name: Linux upload
if: matrix.os == 'ubuntu-latest'
with:
name: stacks-wallet-${{ matrix.NPM_COMMAND }}
name: stacks-wallet-${{ matrix.stx_network }}-${{ matrix.NPM_COMMAND }}
path: |
release/**/*.deb
release/**/*.rpm
Expand Down Expand Up @@ -149,6 +145,7 @@ jobs:
upload-release-assets:
runs-on: ubuntu-latest
needs:
- build
- create-release

strategy:
Expand Down
25 changes: 0 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,31 +53,6 @@
"npmPublish": false
}
],
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false,
"assets": [
{
"path": "release/**/*.msi",
"label": "stacks-wallet-win-${nextRelease.version}.msi"
},
{
"path": "release/**/*.dmg",
"label": "stacks-wallet-mac-${nextRelease.version}.dmg"
},
{
"path": "release/**/*.rpm",
"label": "stacks-wallet-linux-${nextRelease.version}.rpm"
},
{
"path": "release/**/*.deb",
"label": "stacks-wallet-linux-${nextRelease.version}.deb"
}
]
}
],
"@semantic-release/changelog",
"@semantic-release/git"
]
Expand Down

0 comments on commit bf2bd7b

Please sign in to comment.