BTCPayServer.Vault/Build/README.md
2019-12-05 21:13:13 +09:00

929 B

Build system

The process to publish a new version is the following:

  1. Write the changelog on RELEASE.md.
  2. Bump BTCPayServer.Vault/Version.csproj version.
  3. Run Build/push-new-tag.ps1.
  4. Travis will push the new release to the latest github release.

The build system relies on docker to build the packages. Each dockerfile in <rid>/Dockerfile will generate a docker image with the package in it.

How to test Debian

The debian package is easy to test, run:

docker run --rm --name ubuntu-desktop -p 6080:80 dorowu/ubuntu-desktop-lxde-vnc

This will create a linux container with a desktop you can access on http://localhost:6080/ You can then copy the debian package to the vm with

docker cp ../dist ubuntu-desktop:/root/

Then in the terminal inside the ubuntu desktop run

dpkg -i *.deb