v1.1.5 can't find latest versions
kdeldycke opened this issue · comments
Describe the bug
There's a big regression in v1.1.5: it doesn't detect any upgrade while v1.1.4 works well.
Steps to Reproduce
Install both v1.1.4 and v1.1.5 on macOS Catalina:
❯ mkdir ~/ghacu
❯ cd ~/ghacu
❯ wget https://github.com/fabasoad/ghacu/releases/download/v1.1.4/ghacu-1.1.4-osx-x64.tgz
(...)
❯ wget https://github.com/fabasoad/ghacu/releases/download/v1.1.5/ghacu-1.1.5-osx-x64.tgz
(...)
❯ tar xvzf ./ghacu-1.1.4-osx-x64.tgz
(...)
❯ tar xvzf ./ghacu-1.1.5-osx-x64.tgz
(...)
Get a copy of my repository and try out both v1.1.4 and v1.1.5:
❯ cd ~
❯ git clone git@github.com:kdeldycke/awesome-iam.git
(...)
❯ cd awesome-iam
❯ git checkout ce1c996ffb851cc684994ad05468dc8e494fce30
Compare v1.1.4 to v.1.1.5:
❯ ../ghacu/ghacu-1.1.4-osx-x64/ghacu
> Lint (.github/workflows/lint.yaml)
actions/setup-dotnet v1.4.0 » v1.5.0
actions/checkout v2 » v2.3.1
peter-evans/create-pull-request v2 » v2.8.1
actions/checkout v2 » v2.3.1
stefanzweifel/git-auto-commit-action v4 » v4.4.0
actions/checkout v2 » v2.3.1
avto-dev/markdown-lint v1 » v1.3.0
peter-evans/create-pull-request v2 » v2.8.1
avto-dev/markdown-lint v1 » v1.3.0
actions/checkout v2 » v2.3.1
peter-evans/create-pull-request v2 » v2.8.1
actions/checkout v2 » v2.3.1
> Sync labels (.github/workflows/labels_sync.yaml)
actions/checkout v2 » v2.3.1
Run ghacu -u to upgrade actions.
❯ ../ghacu/ghacu-1.1.5-osx-x64/ghacu
All GitHub Actions match the latest versions.
Expected behavior
I expect v1.1.5 to behave like v1.1.4 and find all version upgrade available.
Actual behavior
v1.1.5 doesn't find any update while plenty are available.
Technical information (please complete the following information):
- OS: macOS Catalina
- ghacu version: v1.1.5
- Command line name and version: Zsh
@kdeldycke Should be fixed in v2.0.0. Could you please validate?
Works fine! Thanks @fabasoad for this fast update!
❯ ../ghacu-2.0.0-osx-x64/ghacu
> Lint (.github/workflows/lint.yaml)
setup-dotnet v1.4.0 » v1.5.0
checkout v2 » v2.3.1
checkout v2 » v2.3.1
create-pull-request v2 » v2.8.1
markdown-lint v1 » v1.3.0
git-auto-commit-action v4 » v4.4.0
checkout v2 » v2.3.1
checkout v2 » v2.3.1
markdown-lint v1 » v1.3.0
create-pull-request v2 » v2.8.1
checkout v2 » v2.3.1
create-pull-request v2 » v2.8.1
> Sync labels (.github/workflows/labels_sync.yaml)
checkout v2 » v2.3.1
Run ghacu -u to upgrade actions.