github.com/meulengracht/snapd@v0.0.0-20210719210640-8bde69bcc84e/packaging/debian-sid/README.Source (about)

     1  # Overview
     2  
     3  The packaging is maintained in the upstream git repo at
     4  
     5  github.com/snapcore/snapd in the packaging/debian-sid dir
     6  
     7  Please push any debian changes back there to make packaging
     8  easier.
     9  
    10  ## Release a new version
    11  
    12  To release a new upstream version the following steps are
    13  recommended:
    14  
    15      # one time setup
    16      $ git clone git@salsa.debian.org:debian/snapd
    17      $ cd snapd
    18      $ git remote add upstream https://github.com/snapcore/snapd
    19  
    20      # releasing a new version
    21      $ git fetch upstream
    22      $ git merge upstream/<tag> # e.g. upstream/2.44
    23      $ cp -ar packaging/debian-sid/* debian/
    24      # ensure to git add any new files
    25      # set debian/changelog to UNRELEASED
    26      $ git commit -a -m 'debian: sync packaging changes from upstream'
    27      # update changelog
    28      $ debcommit -ar
    29      $ gbp buildpackage -S -d
    30      # testbuild
    31      $ pbuilder-dist sid update
    32      $ pbuilder-dist sid build  ../build-area/snapd_<version>.dsc
    33      $ dput ftp-master ../build-area/snapd_<version>_source.changes
    34  
    35   -- Michael Vogt <michael.vogt@ubuntu.com>, Wed, 18 Mar 2020 13:11:03 +0100