The build scripts run on GNU/Linux and macOS. The Windows binaries are generated on x64 GNU/Linux, using mingw-w64.
For details on installing the prerequisites, please read the XBB prerequisites page.
The project is hosted on GitHub:
To clone the stable branch (xpack
), run the following commands in a
terminal (on Windows use the Git Bash console):
rm -rf ~/Work/xpack-dev-tools/xbb-helper-xpack.git && \
mkdir -p ~/Work/xpack-dev-tools && \
git clone \
https://github.com/xpack-dev-tools/xbb-helper-xpack.git \
~/Work/xpack-dev-tools/xbb-helper-xpack.git
For development purposes, clone the xpack-development
branch:
rm -rf ~/Work/xpack-dev-tools/xbb-helper-xpack.git && \
mkdir -p ~/Work/xpack-dev-tools && \
git clone \
--branch xpack-development \
https://github.com/xpack-dev-tools/xbb-helper-xpack.git \
~/Work/xpack-dev-tools/xbb-helper-xpack.git
Link it to the central xPacks store:
xpm link -C ~/Work/xpack-dev-tools/xbb-helper-xpack.git
Further updates can be done with:
git -C ~/Work/xpack-dev-tools/xbb-helper-xpack.git pull
There are no scheduled releases, the project is updated when necessary.
Before starting the build, perform some checks and tweaks.
In the xpack-dev-tools/xbb-helper-xpack
Git repo:
- switch to the
xpack-development
branch - pull new changes
- if needed, merge the
xpack
branch
No need to add a tag here, it'll be added when the release is created.
Determine the next version (like 3.0.17
) and update the
package.json
file; the format is 3.0.17-pre
.
Check GitHub issues and pull requests:
and fix them; assign them to a milestone (like 3.0.17
).
Normally README.md
should not need changes, but better check.
Information related to the new version should not be included here,
but in the version specific release page.
- update version in
README-MAINTAINER.md
- update version in
README.md
Use the new version, suffixed by pre
, like 3.0.17-pre
.
- open the
CHANGELOG.md
file - check if all previous fixed issues are in
- add a new entry like * v3.0.17 released
- commit with a message like prepare v3.0.17
- commit and push
- none
- select the
xpack-development
branch - commit all changes
npm pack
and check the content of the archive; possibly adjust.npmignore
npm version patch
,npm version minor
,npm version major
- push the
xpack-development
branch to GitHub - the
postversion
npm script should also update tags viagit push origin --tags
npm publish --tag test
(usenpm publish --access public
when publishing for the first time)
The version is visible at:
- merge
xpack-development
intoxpack
- push to GitHub
When the release is considered stable, promote it as latest
:
npm dist-tag ls @xpack-dev-tools/xbb-helper
npm dist-tag add @xpack-dev-tools/[email protected] latest
npm dist-tag ls @xpack-dev-tools/xbb-helper
If necessary, unpublish previous releases:
npm unpublish @xpack-dev-tools/[email protected]