Skip to content

Commit 0af4079

Browse files
committed
v2.0.4
1 parent f4cb4db commit 0af4079

File tree

6 files changed

+1
-40
lines changed

6 files changed

+1
-40
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ Therefor **PackageChangeLog** was made, to help developers keep their packages a
2727
],
2828
"post-update-cmd": [
2929
"@php artisan pcl:post-update"
30-
],
31-
"pre-package-uninstall": [
32-
"@php artisan pcl:pre-uninstall"
3330
]
3431
}
3532
```
@@ -83,13 +80,6 @@ Therefor **PackageChangeLog** was made, to help developers keep their packages a
8380
| ----------- | ------------- |
8481
| * | install.txt |
8582

86-
- uninstall `pre-package-uninstall`
87-
> if you want to show a log on un-installation only, then add a file name `uninstall.txt` and we will display it only when the package gets uninstalled.
88-
89-
| release tag | log file name |
90-
| ----------- | ------------- |
91-
| * | uninstall.txt |
92-
9383
- update `post-update-cmd`
9484
> the version have to be equal "==" to the release tag because we check against that version b4 showing the log.
9585
>
@@ -112,9 +102,6 @@ Therefor **PackageChangeLog** was made, to help developers keep their packages a
112102
],
113103
"post-update-cmd": [
114104
"@php artisan pcl:post-update"
115-
],
116-
"pre-package-uninstall": [
117-
"@php artisan pcl:pre-uninstall"
118105
]
119106
}
120107
```

logs/v2.0.2.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

logs/v2.0.4.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- remove `pre-package-uninstall` which was cuzing issues for other packages removal, plz remove `"pre-package-uninstall": [...]` from `scripts`

src/Commands/PreUninstall.php

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/PackageChangeLogServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public function boot()
2121
if ($this->app->runningInConsole()) {
2222
$this->commands([
2323
\ctf0\PackageChangeLog\Commands\PostInstall::class,
24-
\ctf0\PackageChangeLog\Commands\PreUninstall::class,
2524
\ctf0\PackageChangeLog\Commands\PostUpdate::class,
2625
]);
2726
}

src/Traits/Init.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ protected function doStuff()
1313
$list = [
1414
'post-install' => 'post-install-cmd',
1515
'post-update' => 'post-update-cmd',
16-
'pre-uninstall' => 'pre-package-uninstall',
1716
];
1817

1918
$final = json_decode($json_data, true);

0 commit comments

Comments
 (0)