]> rtime.felk.cvut.cz Git - hercules2020/hercules-compiler.git/blob - debian/README.source
Configure clang with LLVM_ENABLE_LLD=ON
[hercules2020/hercules-compiler.git] / debian / README.source
1 Releasing a new Debian package
2 ==============================
3
4 0. (optional) Test the build:
5
6                 gbp dch --snapshot
7                 gbp buildpackage --git-ignore-new
8
9 1. Update Debian changelog for the new release:
10
11                 git checkout debian/changelog    # remove any snapshots etc. from the changelog
12                 gbp dch --release --commit
13
14    This opens an editor, where you can (if needed) change the package
15    version or the changelog entries generated automatically from git
16    commit messages.
17
18 2. Build the package:
19
20                 gbp buildpackage --git-tag -b -uc -us
21
22    The `-b -uc` options and possibly others are passed to the build
23    tool. You can add `--git-builder=sbuild` if you want to use
24    `sbuild` command to build the package in clean environment. Then
25    use required sbuild options instead of `-b -uc`.
26
27 3. Push new commit (change log) and version tag to the server:
28
29                 git push --follow-tags