Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version does not work anymore #154

Closed
lzap opened this issue Jan 26, 2024 · 2 comments · Fixed by #155
Closed

Latest version does not work anymore #154

lzap opened this issue Jan 26, 2024 · 2 comments · Fixed by #155

Comments

@lzap
Copy link

lzap commented Jan 26, 2024

Hello,

I am a bit confused, https://go.dev/VERSION?m=text gives 1.21.6 and that is correctly parsed and changed to 1.21 but that version is not available anymore, so our builds are broken: https://dl.google.com/go/go1.21.linux-amd64.tar.gz

+ source /setup-go.sh
+++ mktemp -d
++ TEMP=/tmp/tmp.JlNQgitZdH
++ trap 'rm -rf $TEMP' EXIT ERR INT
+++ dpkg --print-architecture
++ ARCH=amd64
+++ curl 'https://go.dev/VERSION?m=text'
+++ head -n1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    35  100    35    0     0    625      0 --:--:-- --:--:-- --:--:--   625
++ GO_LINUX_PACKAGE_URL=https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
++ [[ 1.21 == \g\o\.\m\o\d ]]
++ [[ 1.21 =~ \^1\\\.\[0-9]\+ ]]
++ [[ 1.21 == http* ]]
++ [[ -n 1.21 ]]
++ GO_LINUX_PACKAGE_URL=https://go.dev/dl/go1.21.linux-amd64.tar.gz
++ wget --progress=dot:mega https://go.dev/dl/go1.21.linux-amd64.tar.gz -O /tmp/tmp.JlNQgitZdH/go-linux.tar.gz
--2024-01-26 14:14:52--  https://go.dev/dl/go1.21.linux-amd64.tar.gz
Resolving go.dev (go.dev)... 216.239.32.21, 216.239.34.21, 216.239.36.21, ...
Connecting to go.dev (go.dev)|216.239.32.21|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://dl.google.com/go/go1.21.linux-amd64.tar.gz [following]
--2024-01-26 14:14:52--  https://dl.google.com/go/go1.21.linux-amd64.tar.gz
Resolving dl.google.com (dl.google.com)... 142.250.[19](https://github.com/foresterorg/forester/actions/runs/7668768793/job/20902558489#step:4:20)0.78, 2607:f8b0:4009:808::[20](https://github.com/foresterorg/forester/actions/runs/7668768793/job/20902558489#step:4:21)0e
Connecting to dl.google.com (dl.google.com)|142.250.190.78|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
20[24](https://github.com/foresterorg/forester/actions/runs/7668768793/job/20902558489#step:4:25)-01-[26](https://github.com/foresterorg/forester/actions/runs/7668768793/job/20902558489#step:4:27) 14:14:52 ERROR [40](https://github.com/foresterorg/forester/actions/runs/7668768793/job/20902558489#step:4:41)4: Not Found.

+++ rm -rf /tmp/tmp.JlNQgitZdH
+ rm -rf /tmp/tmp.JlNQgitZdH
@wangyoucao577
Copy link
Owner

Try out the latest version please! By the way, if you're expecting to use latest go version, you don't need to set goversion explicitly, the action will do it for you.

@lzap
Copy link
Author

lzap commented Jan 29, 2024

Thanks a bunch, I am not aware setting it explicitly: https://github.com/foresterorg/forester/blob/main/.github/workflows/release.yaml

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants