Page MenuHomeFreeBSD

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

Authored by rakuco on Feb 17 2018, 2:09 PM.

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 Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 15101
Build 15194: arc lint + arc unit

Event Timeline

rakuco created this revision.Feb 17 2018, 2:09 PM