2020-03-27 22:06:00 -04:00
2019-11-02 12:43:26 -04:00
2019-02-09 00:02:19 -05:00
2020-03-27 17:12:38 -04:00
2020-03-27 17:20:16 -04:00
2020-03-27 17:20:16 -04:00
2019-11-02 12:43:26 -04:00
2020-03-27 18:00:32 -04:00
2019-03-29 06:29:48 -04:00
2020-03-27 18:00:32 -04:00
2019-02-09 00:02:19 -05:00
2020-03-27 18:23:30 -04:00
2019-03-31 10:05:16 -04:00
2019-11-02 12:43:26 -04:00

========================================================================

Prerequisites:
- You must have an existing account on content.minetest.net, and must
  have a password configured (i.e. you can't use GitHub login for this).
- You must have already setup your package; this script will not create
  new packages for you.
- Your package must use VCS for release, and have the source repo URL
  already registered; file upload is not supported here.

........................................................................
To install the script:
- Have nodejs (and npm if packaged separately) installed.
- Clone/download the project.
- Run "npm i" in the project dir to install dependencies.

........................................................................
To create a release manually:
- In this project's dir, run:

  node . --user="yourname" --pass="yourpass" --pkg="yourpackage" \
    --version="new-version-title"

- You can also set optional parameters:
    --branch="..." to set the VCS source branch, if not master.
    --min="..." to set the minimum Minetest version.
    --max="..." to set the maximum Minetest version.
    --fromgit="..." (see below)
- If a release with a matching name is detected then the release will
  be aborted.  Don't rely on this too much, as it may be fragile, e.g.
  not work if a release exists but is pending approval.
- No news is good news.  If you don't see anything then it probably
  worked.  Check on content.minetest.net to be certain.

........................................................................
To create a release automatically from a git repo:
- Create a .cdbrelease.lua file in the root of your project's git repo.
  This should return a lua table containing key/value pairs to merge
  into config (e.g. {version = "123"} maps to --version=123).  You can
  use .gitattributes and export tags.
- Commit (and if necessary push).
- In this project's dir, run:

  node . --user="yourname" --pass="yourpass" --fromgit="repourl"

- "repourl" should be anything that git can clone, including a local
  path, a web URL, ssh URL, etc.
- You can also optionally set any parameters listed above in the
  "release manually" section.  Anything set locally will override the
  settings from the repo.  Technically you can store your username and
  password in the repo, but this is bad practice.

N.B. code in .cdbrelease.lua is NOT sandboxed in any way!
There are significant security implications to using --fromgit with a
repo that you do not fully control.  Use at your own risk.

========================================================================
Description
No description provided
Readme 563 KiB
Languages
JavaScript 89%
Lua 9.8%
Dockerfile 1.2%