Skip to content
Michal Fabik edited this page Jan 15, 2021 · 3 revisions

In upstream git repository (https://github.com/abrt)

  1. create a release commit
  2. create git tag
  3. push the created commit and tag into git repository.
  4. go to https://github.com/abrt/will-crash/releases, draft a new release using the most recent tag (the one that you just pushed) and attach will-crash-X.Y.Z.tar.gz that was generated when you ran tito build --tgz

Example:

  1. $ tito tag --use-version=X.Y.Z
  2. $ git push --follow-tags origin master
  3. $ tito build --tgz

X.Y.Z is the new version number according to the semantic versioning system.

In dist-git repository

Clone the repository via $ fedpkg clone $REPO_NAME.

  1. add a new source file (you get the file from upstream repo) $ fedpkg new-sources $UPSTREAM_SOURCE
  2. modify spec file
    • change Version to the new one
    • set Release to 1%{?dist}
    • address all changes which was done in upstream spec file from last release (specfile is not shipped by source file)
    • add a changelog entry
  3. stage spec file $ git add $SPECFILE and create a new commit $ git commit -s
  4. try local build if you are on the right system $ fedpkg local
  5. try scratch build in koji $ koji build --scratch $FEDORA_VERSION $SRPM (FEDORA_VERSION is for example rawhide or f33)
  6. push created commit into dist-git $ fedpkg push
  7. do a build $ fedpkg build
  8. submit update to bodhi https://bodhi.fedoraproject.org/