This file contains quick reminders and notes on how to package Vigil.
We consider here the packaging flow of Vigil version 1.0.0 for Linux.
-
How to bump Vigil version before a release:
- Bump version in
Cargo.tomlto1.0.0 - Execute
cargo updateto bumpCargo.lock
- Bump version in
-
How to update Vigil on Crates:
- Publish package on Crates:
cargo publish --no-verify
- Publish package on Crates:
-
How to build Vigil, package it and release it on GitHub (multiple architectures):
- Install the cross-compilation utility:
cargo install cross - Release all binaries:
./scripts/release_binaries.sh --version=1.0.0 - Publish all the built archives on the releases page on GitHub
- Install the cross-compilation utility:
-
How to update Docker image:
docker build .docker tag [DOCKER_IMAGE_ID] valeriansaliou/vigil:v1.0.0(insert the built image identifier)docker push valeriansaliou/vigil:v1.0.0