Open tomgreenfield opened 4 years ago
Have retested on two different instances today and there were no problems with the fetch - the latest framework tag was successfully pulled down. Closing for now until it can be reproduced.
Receiving the same error trying to update AT v0.10.2 FWv4.4.1 on Ubuntu.
Adapt authoring tool upgraded to v0.10.5
Failed to upgrade /temp/5d53965298b7a35faa105594/adapt_framework to v4.5.0
ERROR: error: pathspec 'v4.5.0' did not match any file(s) known to git.
Notice message says AT upgrade succeeded; FW update failed. When it failed, I checked my node version and updated adapt-cli. Now using node v14.15.4 and CLI v2.1.13.
Interesting, when I run adapt version
, CLI reports:
CLI: 2.1.13
Framework: 0.10.5
"0.10.5" is the AT version, not the FW version.
I tried installing with:
Expected Behaviour
An automatic upgrade is able to be performed.
Actual Behaviour
Attempting an upgrade from framework 5.5 to framework 5.5.1 is giving me the following message:
It's almost as if the
git fetch
here isn't running or bringing down the latest remote tag: https://github.com/adaptlearning/adapt_authoring/blob/28247b0da4b41a486216fbeb3b870e8b2e97155e/lib/installHelpers.js#L524This also happens if I specify the tag in the upgrade script.
It fixes itself if I run
git fetch
manually in theadapt_framework
directory.Steps to Reproduce
May be tricky to reproduce because you need to be not in sync with the remote.
Versions