• Hi,
    currently the download button points to https://downloads.wp.xz.cn/plugin/cf7-grid-layout.zip

    Therefore the link never changes when a new version has been released.

    Using https://wpackagist.org this leads to problems as package information includes this as download link:

    {
                "name": "wpackagist-plugin/cf7-grid-layout",
                "version": "4.13.0",
                "source": {
                    "type": "svn",
                    "url": "https://plugins.svn.ww.wp.xz.cn/cf7-grid-layout/",
                    "reference": "trunk"
                },
                "dist": {
                    "type": "zip",
                    "url": "https://downloads.wp.xz.cn/plugin/cf7-grid-layout.zip?timestamp=1653228166"
                },
                "require": {
                    "composer/installers": "^1.0 || ^2.0"
                },
                "type": "wordpress-plugin",
                "homepage": "https://ww.wp.xz.cn/plugins/cf7-grid-layout/"
            },

    So e. g. if I want to install version 4.13.0 I still get the current version (e. g. 4.14.1) which shouldn’t be the case.

    Therefore is it possible to change the download link structure?
    CF7 for example (besides many other plugins) already uses versioned links:
    https://ww.wp.xz.cn/plugins/contact-form-7/
    https://downloads.wp.xz.cn/plugin/contact-form-7.5.6.3.zip

    Best
    Pluspol

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Hi Pluspol,

    am not sure how to control this, as download links are generated by the WP svn repo into which I update the code.

    I just checked the README file which has the attribute Stable tag set to trunk by default. I just changed it to 4.14.1 but it does not seem to regenerate the download link. Any ideas how to achieve this?

    So e. g. if I want to install version 4.13.0 I still get the current version (e. g. 4.14.1) which shouldn’t be the case.

    You can download previous versions from the plugin advanced page

    Plugin Author Aurovrata Venet

    (@aurovrata)

    the advance page download links are labelled with the correct version,

    https://downloads.wp.xz.cn/plugin/cf7-grid-layout.4.13.zip

    Thread Starter pluspol

    (@pluspol)

    Hi Aurovrata,
    thanks for the fast response.

    Unfortunately I also don’t know how to control this but I’ll try to create an issue with WPackagist.org – Maybe they know what to do. The previous versions page is also very helpful, thanks for this.

    Best

    Thread Starter pluspol

    (@pluspol)

    FYI, I have opened the following GitHub issue:
    https://github.com/outlandishideas/wpackagist/issues/475

    Plugin Author Aurovrata Venet

    (@aurovrata)

    The previous versions page is also very helpful, thanks for this.

    wc. I will also investigate from my side. I’ll update this thread if I find anyting.

    Would you also keep me posted with any updates on this?

    Thread Starter pluspol

    (@pluspol)

    Sure. Thanks for being so engaged!

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ps: dropped a comment on the GH issue, I don’t have any experience with WPpackagist, but maybe something worth trying out

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Out of curiosity, why do you need to package this plugin? Are deploying some custom forms within a theme?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Include version in download url’ is closed to new replies.