Skip to content

Make releases of Kibiter #38

@dlumbrer

Description

@dlumbrer

We want to build ZIP's for each Kibiter version. This could be usefull in order to check new versions or little changes.

Kibana has by default a way to build a tar.gz of the current version that you are, doing:

npm run build

This must create the tars into KIBITER_HOME/target/, one tar for each OS. However, this command generates an error and it's impossible to continue, so we just add this option in order to avoid that error:

npm run build -- --skip-os-packages

Now, tars have been built and are in KIBITER_HOME/target/.

Important: That command don't copy the plugins don't into the plugins/ folder of the tars, so it's needed to add this line into a grunt configurations file (before the tar creation):

  • In KIBITER_HOME/tasks/build/archives.js:
async function archives({ name, buildName, zipPath, tarPath }) {
   ...
   await exec('cp', ['-rf', fromRoot("plugins/"), fromRoot("build/" + buildName + "/.")]); //This line
   await exec('tar', tarArguments);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions