Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

How to retain subdir within basePath #71

Open
feuzeu opened this issue Apr 4, 2017 · 0 comments
Open

How to retain subdir within basePath #71

feuzeu opened this issue Apr 4, 2017 · 0 comments

Comments

@feuzeu
Copy link

feuzeu commented Apr 4, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant