Files
clang-uml/packaging
2023-03-02 22:28:08 +01:00
..
2023-01-02 22:46:47 +01:00
2023-03-02 20:47:06 +01:00
2023-01-02 22:46:47 +01:00
2023-01-22 19:35:49 +01:00

Building releases

  • Update CHANGELOG.md
  • Tag the release commit, e.g. git tag 0.1.0

Ubuntu

cd packaging
make DIST=focal deb
make DIST=jammy deb
make DIST=kinetic deb

cd _BUILD/ubuntu/focal
dput ppa:bkryza/clang-uml *.changes

cd _BUILD/ubuntu/jammy
dput ppa:bkryza/clang-uml *.changes

cd _BUILD/ubuntu/kinetic
dput ppa:bkryza/clang-uml *.changes

Fedora

cd clang-uml
make fedora_36
make fedora_37
find packaging/_BUILD/fedora

Anaconda

docker run --rm -v $PWD:$PWD -it continuumio/miniconda3 bash
conda install conda-build make anaconda-client
cd packaging
make CONDA_TOKEN=<TOKEN> conda

Windows

First build release configuration using cmake and msbuild according to the documentation.

cmake -S clang-uml -B .\clang-uml-build-pkg\ -DCMAKE_PREFIX_PATH="C:\clang-uml" -Thost=x64
cd .\clang-uml-build-pkg\
msbuild .\clang-uml.vcxproj -maxcpucount /p:Configuration=RelWithDebInfo
cpack -C "RelWithDebInfo" -G NSIS64