• Resolved skylight

    (@skylight9345)


    Error: The requested file doesn’t exist or has been deleted: /two-factor/two-factor.zip. Please run a new malware scan.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @kasparsd,

    It would be really cool if you used SVN tags. Currently, you only push to trunk/, which is considered bad practice:

    While it’s possible to use trunk as a stable tag for plugins, this feature is not actually supported nor recommended. Instead, releases should be properly tagged an iterated. This will ensure full compatibility with any automatic updater, as well as allow for rollbacks should there be an issue with your code.
    https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/#always-tag-releases

    Also, this results in earlier versions being unavailable. This is problematic in Composer-based environments where builds suddenly fail with error messages like this:

    
    Error: Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Root composer.json requires wpackagist-plugin/two-factor 0.7.1, found wpackagist-plugin/two-factor[dev-trunk, 0.7.2] but these do not match your constraint and are therefore not installable. Make sure you either fix the constraint or avoid updating this package to keep the one present in the lock file (wpackagist-plugin/two-factor[0.7.1]).
    

    Please consider using tags. Thanks!

    BTW, I saw that you tried automatic deploys via https://github.com/stephenharris/grunt-wp-deploy. Have you considered something like https://github.com/10up/action-wordpress-plugin-deploy to simplify things?

    Philipp

    Similar request: https://wordpress.org/support/topic/adopt-the-use-of-release-tags/

    Plugin Author Kaspars

    (@kasparsd)

    Hi @tyrannous! Thanks for the suggestion!

    This setup is a leftover from the time when some of the “beta” plugins were pulled in by WP.org from GitHub automatically and it couldn’t do tags.

    > Have you considered something like https://github.com/10up/action-wordpress-plugin-deploy to simplify things?

    I personally prefer that the tooling is consistent between all environments and the deploy scripts can be run from the local in exact same ways as during CI.

    I’ll tag some of the previous releases manually now and we’ll get a permanent setup in place once somebody has more time to dedicate to testing it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Cerber says zip missing (Version 0.7.1)!’ is closed to new replies.