bot icon indicating copy to clipboard operation
bot copied to clipboard

How to retain subdir within basePath

Open feuzeu opened this issue 7 years ago • 0 comments

Hi, I've written the following update.json file to update the Jaxon package at https://github.com/jaxon-php/jaxon-js, from v1.0.0 to v1.0.1.

{
    "packageManager": "github",
    "name": "jaxon-js",
    "repo": "jaxon-php/jaxon-js",
    "files": {
        "basePath": "src/",
        "include": [
            "jaxon.core.min.js",
            "jaxon.debug.min.js",
            "jaxon.verbose.min.js",
            "jaxon.ready.min.js",
            "lang/jaxon.en.min.js",
            "lang/jaxon.fr.min.js",
            "lang/jaxon.de.min.js",
            "lang/jaxon.nl.min.js",
            "lang/jaxon.es.min.js",
            "lang/jaxon.bg.min.js",
            "lang/jaxon.tr.min.js"
        ]
    }
}

The bot doesn't accept the file because it strips the "lang/" subdir from the filenames and then complains about change in file structure. I've prepended these filenames with "./" and it still doesn't work.

How should amend my update.json file so the "lang/" subdir is retained in the filenames?

Thierry

feuzeu avatar Apr 04 '17 11:04 feuzeu