Page MenuHomeFreeBSD

bump-revision.sh: Consider PORTEPOCH when PORTREVISION is not set.
Needs ReviewPublic

Authored by rakuco on Feb 17 2018, 2:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 8:07 PM
Unknown Object (File)
Dec 20 2023, 6:53 AM
Unknown Object (File)
Aug 22 2023, 9:13 AM
Unknown Object (File)
Aug 12 2023, 7:35 AM
Unknown Object (File)
Jul 24 2023, 9:18 PM
Unknown Object (File)
Jun 2 2023, 11:49 AM
Unknown Object (File)
May 23 2023, 2:32 PM
Unknown Object (File)
May 10 2023, 7:22 AM
Subscribers
None

Details

Reviewers
robak
Group Reviewers
portmgr
Summary

Some ports, such as the py-qt{4,5}-* ones, do not set PORTVERSION
themselves, but may have PORTEPOCH right below PORTNAME.

If such ports have PORTNAME and PORTEPOCH but no PORTREVISION, the script
would add a PORTREVISION below PORTEPOCH instead of before it.

Test Plan

Running the script on a port without PORTVERSION and PORTREVISION, but with PORTEPOCH worked fine.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 15101
Build 15194: arc lint + arc unit