Skip to content

Commit dfbb928

Browse files
committed
fix: reset Migrator CURRENT_VERSION to the last released version
Hand-setting CURRENT_VERSION to the upcoming release (1.0.0) left release-please with nothing to bump, so Migrator.php was absent from the release PR's diff. Source files should always carry the last released version; release-please owns the bump from N-1 to N via the block markers. Reset to 0.5.0 (current main's plugin.php Version). The next release PR will bump both plugin.php and Migrator.php in lockstep, and the mechanism continues working for every future release.
1 parent 1f4e652 commit dfbb928

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Lifecycle/Migrator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final class Migrator
1616
{
1717
private const DB_VERSION_OPTION = 'pfcpt_db_version';
1818
// x-release-please-start-version
19-
private const CURRENT_VERSION = '1.0.0';
19+
private const CURRENT_VERSION = '0.5.0';
2020
// x-release-please-end
2121

2222
public function migrate(): void

0 commit comments

Comments
 (0)