Opened 5 years ago

Closed 4 years ago

#60539 closed enhancement (duplicate)

add support for versions to `port bump`

Reported by: lhaeger (Lothar Haeger) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

I regularly check my ports with port livecheck, which tells me which newer port versions could be built. Then manually edit the port file to update the version number, then run port bump before trying an install and start fixing things, if necessary.

Would be nice if I could skip the manual editing and directly tell port bump the new version number, so it not only updates the hashes but the version string as well. If I wanted to prepare an update for my-port from version 1.0 to 1.1, I could then run port bump my-port@1.1.

Of course port bump would need to understand all alternative ways to set a port's version e.g. github.setup .

Change History (3)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Component: portsbase
Version: 2.6.2

comment:2 Changed 5 years ago by kencu (Ken)

And then automatically generate a PR and run tests builds on the CI system, like homebrew's bot does.

then you just have to hit "commit" if you like it.

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #53851.

Note: See TracTickets for help on using tickets.