aportgen: Set pkgver for devices to 1 by default (MR 2275)

We have been discussing making device package versioning more
consistent and ended up settling on using integer versioning for device
packages[1]. As such, let's start by tackling this at the source and
start generating new device packages with 1 as the starting pkgver
instead of 0.1.

 [1]: https://gitlab.com/postmarketOS/pmaports/-/issues/2610#note_1796178414
This commit is contained in:
Newbyte 2024-03-11 11:48:56 +01:00 committed by Clayton Craft
parent e812fafdee
commit c6e8a89ea3
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -275,7 +275,7 @@ def generate_apkbuild(args, pkgname, name, arch, flash_method):
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname={pkgname} pkgname={pkgname}
pkgdesc="{name}" pkgdesc="{name}"
pkgver=0.1 pkgver=1
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"