Closed BRO3886 closed 2 years ago
Hey @BRO3886 sorry for the late response. Did you try a local dry run on this?
yes I tried local run, ran the action on my fork too, it passed till the releasing part which failed because it was trying to release under hoppscotch/hopp-cli
Implemented the same for a personal project, which worked fine. You can check the run here
Awesome, I'll merge this. Since I don't have repository rights here, @liyasthomas it would be great if you could add a GitHub Token to this repo secrets by the name GH_TOKEN
? If that's done, we're good to release a new tag 😄
@athul done 👍 I've added the token.
@BRO3886
2022-02-01T16:50:36.3041773Z [34m[1m •[0m running hook [0m [34mhook[0m=make pack-releases
2022-02-01T16:50:40.6179013Z [34m[1m •[0m running hook [0m [34mhook[0m=make pack-releases
2022-02-01T16:50:40.6609806Z [31m[1m ⨯[0m [1mrelease failed after 110.38s[0m[0m [31merror[0m=post hook failed: "stuffbin -a stuff -in dist/hopp-cli_darwin_amd64/hopp-cli -out ./dist/hopp-cli_darwin_amd64/hopp-cli ./templates/index.html ./templates/template.md:/template.md; stuffbin -a stuff -in dist/hopp-cli_darwin_arm64/hopp-cli -out ./dist/hopp-cli_darwin_arm64/hopp-cli ./templates/index.html ./templates/template.md:/template.md; stuffbin -a stuff -in dist/hopp-cli_linux_386/hopp-cli -out ./dist/hopp-cli_linux_386/hopp-cli ./templates/index.html ./templates/template.md:/template.md; stuffbin -a stuff -in dist/hopp-cli_linux_amd64/hopp-cli -out ./dist/hopp-cli_linux_amd64/hopp-cli ./templates/index.html ./templates/template.md:/template.md; stuffbin -a stuff -in dist/hopp-cli_windows_386/hopp-cli.exe -out ./dist/hopp-cli_windows_386/hopp-cli.exe ./templates/index.html ./templates/template.md:/template.md; stuffbin -a stuff -in dist/hopp-cli_windows_amd64/hopp-cli.exe -out ./dist/hopp-cli_windows_amd64/hopp-cli.exe ./templates/index.html ./templates/template.md:/template.md;\nstuffing failed: open dist/hopp-cli_darwin_amd64/hopp-cli: no such file or directory\nstuffing failed: open dist/hopp-cli_darwin_arm64/hopp-cli: no such file or directory\nstuffing failed: open dist/hopp-cli_linux_386/hopp-cli: no such file or directory\nstuffing failed: open dist/hopp-cli_linux_amd64/hopp-cli: no such file or directory\nstuffing failed: open dist/hopp-cli_windows_386/hopp-cli.exe: no such file or directory\nstuffing failed: open dist/hopp-cli_windows_amd64/hopp-cli.exe: no such file or directory\nmake: *** [Makefile:41: pack-releases] Error 1\n": exit status 2
2022-02-01T16:50:40.6659957Z ##[error]The process '/opt/hostedtoolcache/goreleaser-action/1.4.1/x64/goreleaser' failed with exit code 1
2022-02-01T16:50:40.6749912Z Post job cleanup.
2022-02-01T16:50:40.8171854Z [command]/usr/bin/git version
2022-02-01T16:50:40.8232182Z git version 2.34.1
2022-02-01T16:50:40.8278803Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-02-01T16:50:40.8340734Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2022-02-01T16:50:40.8632256Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2022-02-01T16:50:40.8696909Z http.https://github.com/.extraheader
2022-02-01T16:50:40.8705755Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2022-02-01T16:50:40.8751304Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2022-02-01T16:50:40.9270588Z Cleaning up orphan processes
Seems like there are some errors here
Lemme try to fix this
Hi, checking.. I added a relative path on Makefile L41, after that the "no such file or directory" issue resolved for me
I think the issue is intermittent, because stuffbin tries to find the files before all files have been built, trying to debug.
GH_TOKEN
as repo secret)git tag create -a vX.X.X -m "info about tag"
)git push origin {tag}
This will run the action