Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 982 Bytes

PACKAGING.md

File metadata and controls

23 lines (17 loc) · 982 Bytes

Packaging

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.

  1. How to bump Vigil version before a release:

    1. Bump version in Cargo.toml to 1.0.0
    2. Execute cargo update to bump Cargo.lock
  2. How to update Vigil on Crates:

    1. Publish package on Crates: cargo publish --no-verify
  3. How to build Vigil, package it and release it on GitHub (multiple architectures):

    1. Install the cross-compilation utility: cargo install cross
    2. Release all binaries: ./scripts/release_binaries.sh --version=1.0.0
    3. Publish all the built archives on the releases page on GitHub
  4. How to update Docker image:

    1. docker build .
    2. docker tag [DOCKER_IMAGE_ID] valeriansaliou/vigil:v1.0.0 (insert the built image identifier)
    3. docker push valeriansaliou/vigil:v1.0.0