port version reports 2.4.2 when built from tag v2.4.3
Joshua Root
jmr at macports.org
Wed Apr 11 12:17:42 UTC 2018
On 2018-4-11 18:52 , Enrico Maria Crisostomo wrote:
> Hi,
>
> I've just created a new installation of macports-base from tag v2.4.3 following the instructions in the documentation (basically git checkout v2.4.3, ./configure ..., make and make install) and I've just noticed that `port` reports 2.4.2:
>
> % which port
> /opt/macports-2.4.3/bin/port
> % port version
> Version: 2.4.2
>
> I built from:
>
> % git rev-parse HEAD
> a393413460aae5ac9749b994681381087089cdb5
>
> which appears to be the correct v2.4.3:
>
> * commit a393413460aae5ac9749b994681381087089cdb5 (HEAD, tag: v2.4.3, upstream/release-2.4)
> | Author: Joshua Root <jmr at macports.org>
> | Date: Wed Apr 11 10:23:40 2018 +1000
> |
> | Bump branch version to 2.4.3
>
> Am I missing something obvious or it this a typo?
I'm not sure how that happened for you. Browsing the tag on GitHub, it
says 2.4.3 in the appropriate places.
<https://github.com/macports/macports-base/blob/v2.4.3/config/macports_version>
<https://github.com/macports/macports-base/blob/v2.4.3/configure#L2790>
Are you sure your shell didn't cache the location of port? Check with
'type port'. (Using 'which' tells you where it would be found if you
cleared the cache.)
- Josh
More information about the macports-dev
mailing list