Skip to content

Commit a6de721

Browse files
committed
fix(build): use the new version in artifacts
1 parent 41a19b6 commit a6de721

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
path: dist
5252

53-
- name: Display structure of downloaded files
53+
- name: List artifacts
5454
run: ls -R
5555
working-directory: dist
5656

package.json

+16-4
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,28 @@
6767
{
6868
"assets": [
6969
{
70-
"path": "dist/**/phoenix-*.snap"
70+
"label": "phoenix-v${nextRelease.version}-linux-amd64.snap",
71+
"path": "dist/**/phoenix-*-linux-amd64.snap"
7172
},
7273
{
73-
"path": "dist/**/phoenix-*.exe"
74+
"label": "phoenix-v${nextRelease.version}-win-x64.exe",
75+
"path": "dist/**/phoenix-*-win-x64.exe"
7476
},
7577
{
76-
"path": "dist/**/phoenix-*.dmg"
78+
"label": "phoenix-v${nextRelease.version}-mac-arm64.dmg",
79+
"path": "dist/**/phoenix-*-mac-arm64.dmg"
7780
},
7881
{
79-
"path": "dist/**/phoenix-*.zip"
82+
"label": "phoenix-v${nextRelease.version}-mac-arm64.zip",
83+
"path": "dist/**/phoenix-*-mac-arm64.zip"
84+
},
85+
{
86+
"label": "phoenix-v${nextRelease.version}-mac-x64.dmg",
87+
"path": "dist/**/phoenix-*-mac-x64.dmg"
88+
},
89+
{
90+
"label": "phoenix-v${nextRelease.version}-mac-x64.zip",
91+
"path": "dist/**/phoenix-*-mac-x64.zip"
8092
}
8193
]
8294
}

0 commit comments

Comments
 (0)