Skip to content

Commit e17c66f

Browse files
committed
Fix release workflow
1 parent 86cd901 commit e17c66f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: npm run build
3131

3232
- name: Create zip
33-
run: tar -czvf dist.tar.gz resources/dist
33+
run: tar -czvf dist.tar.gz dist
3434

3535
- name: Get Changelog
3636
id: changelog

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"download-dist": {
4141
"url": "https://github.com/statamic/importer/releases/download/{$version}/dist.tar.gz",
42-
"path": "resources/dist"
42+
"path": "dist"
4343
}
4444
},
4545
"minimum-stability": "dev",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
*
1+
.gitignore
22
!.gitignore

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ServiceProvider extends AddonServiceProvider
1919
];
2020

2121
protected $vite = [
22-
'publicDirectory' => 'resources/dist',
22+
'publicDirectory' => 'dist',
2323
'hotFile' => 'vendor/importer/hot',
2424
'input' => [
2525
'resources/js/cp.js',

vite.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import vue2 from '@vitejs/plugin-vue2'
55
export default defineConfig({
66
plugins: [
77
laravel({
8-
hotFile: 'resources/dist/hot',
9-
publicDirectory: 'resources/dist',
8+
hotFile: 'dist/hot',
9+
publicDirectory: 'dist',
1010
input: ['resources/js/cp.js'],
1111
}),
1212
vue2(),

0 commit comments

Comments
 (0)