@kraftner @gmazzap I am already using something like you explained: https://github.com/Automattic/wordpress-activitypub/blob/master/includes/class-migration.php
But I check for the latest version number from the PHP/readme file, so it always has a file-read: https://github.com/Automattic/wordpress-activitypub/blob/master/activitypub.php#L220
Why you ask? ;)
Because hate to update the same version number in multiple files, to to avoid inconsistencies.
Any suggestions for a GitHub Action, that does this properly based on a tag?!?