Skip to content

fix: Use correct path for Windows zip#223

Merged
yevgenypats merged 2 commits intocloudquery:mainfrom
erezrokah:fix/windows_support
Oct 3, 2022
Merged

fix: Use correct path for Windows zip#223
yevgenypats merged 2 commits intocloudquery:mainfrom
erezrokah:fix/windows_support

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah commented Oct 2, 2022

Summary

Hard to test this as we need to release a new SDK, update it in the CLI and then test again via cloudquery/cloudquery#2204.

Similar to the fix in cloudquery/cloudquery#1894


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Run go fmt to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

@erezrokah erezrokah requested a review from yevgenypats as a code owner October 2, 2022 15:11
@github-actions github-actions bot added fix and removed fix labels Oct 2, 2022
Copy link
Copy Markdown
Contributor

@yevgenypats yevgenypats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does .exe really needed on windows? Im not sure that the case especially for something that is not user faceing and it will make the code more complex because path will change depending on OS

@erezrokah
Copy link
Copy Markdown
Member Author

Either we fix this in the SDK, or we change our build configuration (if possible).
I think having binaries with exe extension is quite common, expected by users and is the default for Windows.
I'm not sure actually if the exe is added by go build or Go Releaser.
From a quick look at this guide https://www.digitalocean.com/community/tutorials/how-to-build-go-executables-for-multiple-platforms-on-ubuntu-16-04 it seems exe is added by go and required?
image

We can do some tests to see if we can drop it, but maybe we can merge the fix as currently the CLI is broken on Windows?

@yevgenypats yevgenypats enabled auto-merge (squash) October 3, 2022 08:20
@yevgenypats yevgenypats merged commit 960f650 into cloudquery:main Oct 3, 2022
@erezrokah erezrokah deleted the fix/windows_support branch October 3, 2022 08:45
kodiakhq bot pushed a commit that referenced this pull request Oct 3, 2022
🤖 I have created a release *beep* *boop*
---


## [0.11.5](v0.11.4...v0.11.5) (2022-10-03)


### Bug Fixes

* Create doc directory if doesn't exist ([#220](#220)) ([067534d](067534d))
* **deps:** Update golang.org/x/exp digest to 540bb73 ([#212](#212)) ([2e3dae3](2e3dae3))
* **deps:** Update golang.org/x/sync digest to 8fcdb60 ([#213](#213)) ([7d7d85f](7d7d85f))
* Remove redundant error print ([#226](#226)) ([9927ede](9927ede))
* Remove unused docs template function ([#221](#221)) ([f65f023](f65f023))
* Use correct path for Windows zip ([#223](#223)) ([960f650](960f650))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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 this pull request may close these issues.

2 participants