Dockstore CLI 1.8.2 tag installs 1.8.0, and --upgrade flag does not upgrade
See original GitHub issueDescribe the bug
This may need to be split into two issues.
On a fresh install of dockstore on Ubuntu 18.04, I am downloading the dockstore binary from the 1.8.2 tag, but the command line interface version that is reported is 1.8.0.
When trying to upgrade to 1.8.2 using the --upgrade
flag, the command line utility says the download is complete and I am now on version 1.8.2, but when I check the version again, it still says 1.8.0.
To Reproduce
I am creating a Vagrant box with a fresh install of Ubuntu 18.04. To install dockstore, I am using the following commands:
mkdir -p ~/bin
curl -L -o ~/bin/dockstore https://github.com/dockstore/dockstore/releases/download/1.8.2/dockstore
chmod +x ~/bin/dockstore
echo 'export PATH=~/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
Output behavior
Actual behavior:
vagrant@ubuntu-bionic:~$ which dockstore
/home/vagrant/bin/dockstore
vagrant@ubuntu-bionic:~$ dockstore --version
Dockstore version 1.8.0
The latest stable version is 1.8.2
Please upgrade with the following command:
dockstore --upgrade
vagrant@ubuntu-bionic:~$ dockstore --upgrade
Current Dockstore version: 1.8.0
Upgrading to most recent stable release (1.8.0 -> 1.8.2)
Download complete. You are now on version 1.8.2 of Dockstore.
vagrant@ubuntu-bionic:~$ dockstore --version
Dockstore version 1.8.0
The latest stable version is 1.8.2
Please upgrade with the following command:
dockstore --upgrade
Expected behavior:
- Version should be 1.8.2 to begin with (since that is the version that I used curl to download)
- The
--upgrade
flag should either upgrade or report an error
Please let me know if there is a better place to put this issue. I noticed issues are disabled in the dockstore/dockstore-cli repo.
┆Issue is synchronized with this Jira Story ┆Fix Versions: Dockstore 1.9 ┆Issue Number: DOCK-1334 ┆Sprint: Sprint 36 Krill ┆Issue Type: Story
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Thanks for the heads-up. Basically, 1.8.0 is the current version of the CLI code. We recently split out the CLI code from the webservice which is now on 1.8.2 and the help text seems to be assuming that the two should be the same.
after running the commands in the ticket, it asks me to update to version 1.9.0. Doing
dockstore --upgrade
does correctly update the version.