Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Oct 28, 2024
1 parent 86cd901 commit e17c66f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: npm run build

- name: Create zip
run: tar -czvf dist.tar.gz resources/dist
run: tar -czvf dist.tar.gz dist

- name: Get Changelog
id: changelog
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"download-dist": {
"url": "https://github.com/statamic/importer/releases/download/{$version}/dist.tar.gz",
"path": "resources/dist"
"path": "dist"
}
},
"minimum-stability": "dev",
Expand Down
2 changes: 1 addition & 1 deletion resources/dist/.gitignore → dist/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*
.gitignore
!.gitignore
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ServiceProvider extends AddonServiceProvider
];

protected $vite = [
'publicDirectory' => 'resources/dist',
'publicDirectory' => 'dist',
'hotFile' => 'vendor/importer/hot',
'input' => [
'resources/js/cp.js',
Expand Down
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import vue2 from '@vitejs/plugin-vue2'
export default defineConfig({
plugins: [
laravel({
hotFile: 'resources/dist/hot',
publicDirectory: 'resources/dist',
hotFile: 'dist/hot',
publicDirectory: 'dist',
input: ['resources/js/cp.js'],
}),
vue2(),
Expand Down

0 comments on commit e17c66f

Please sign in to comment.