FS#71655 - [amf-headers] pkgver() generates invalid pkgver

Attached to Project: Arch Linux
Opened by Felix Yan (felixonmars) - Thursday, 29 July 2021, 15:50 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 02 August 2021, 07:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The pkgver() in PKGBUILD is currently generating invalid version:

==> Extracting sources...
-> Creating working copy of AMF git repo...
Cloning into 'AMF'...
done.
Updating files: 100% (3377/3377), done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: .4.18-5-g6898a97


Additional info:
* package version(s)
amf-headers 1.4.21-1
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Monday, 02 August 2021, 07:18 GMT
Reason for closing:  Works for me
Comment by Maxime Gauduin (Alucryd) - Monday, 02 August 2021, 07:18 GMT
It works fine with tags, looks like you're trying to build a commit, not a tag, this is unsupported.

Loading...