BTCPayServer.Vault/Build/README.md
nicolas.dorier acad623520
Some checks failed
CI / debian-x64 (push) Has been cancelled
CI / linux-x64 (push) Has been cancelled
CI / osx-x64 (push) Has been cancelled
CI / win-x64 (push) Has been cancelled
CI / applesign (push) Has been cancelled
CI / pgpsign (push) Has been cancelled
CI / makerelease (push) Has been cancelled
Fix makerelease script
2020-12-01 12:35:40 +09:00

1.0 KiB

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.

Test releases

You can test a release by tagging with Vault/v[VERSION]-test. This will create a draft pre release.

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