Changes

Jump to navigation Jump to search
114 bytes added ,  20:50, 28 November 2017
==== Packaging git commits ====
Only package git commits when necessary. Stable releases are preferred. Consider asking upstream to tag releases.
* <code>pkgver</code>: We use the following format: <code>$lastrelease_gitYYYYMMDD</code>, e.g. <code>1.0_git20171101</code> (that makes it easy to see how old the commit is and <code>apk</code> is able to upgrade the package properly when the next release, e.g. <code>1.1</code>, comes out)
* Save the git commit in a variable <code>_commit=....</code> and use it throughout the <code>APKBUILD</code> (e.g. in the <code>builddir</code>), so it's easy to update it.

Navigation menu