Use correct flags after tools change#334
Conversation
|
Thanks for this. I guess it will require a new image to support this as well, because the tool installed on them is still the deprecated one I think? |
That's what I've been assuming as well so far and haven't found out how to do yet. |
|
You may want to detect the tool version in the image to avoid breaking user experience. |
That's a good point - switching between this new parameter set vs older one based on the result of It would be pretty painful otherwise - the alternative being forcing the container update on this update - but doing that we would have to have the images out first, which could cause breakage for anyone that updates the images before this update is released... |
Revert "Ignore errors to ensure catching the version even if the library version wasn't found" This reverts commit 91d60df.
|
If I understand everything, then it's currently broken in the fyne-cross image, and this PR should fix it. And for that to take effect we need to build a new image with these changes first, right? |
I don't think that is the case - Fyne-cross is not included in the image (fyne is). I'm not sure why it errors with these changes - perhaps it is not installing in the action correctly, or maybe the fix still has problems? |
| case androidOS: | ||
| workDir = volume.JoinPathContainer(workDir, ctx.Package) | ||
| if ctx.Keystore != "" { | ||
| args = append(args, "-keyStore", ctx.Keystore) |
There was a problem hiding this comment.
These also need a version check.
There was a problem hiding this comment.
Fixed, and improved the version checks on the way.
|
The macOS issue may be fixed by updating the runner, it has a v1 release now: |
|
Oh I figured out the problem @sdassow - the |
Oh! Haven't looked at it from that perspective, thanks for the pointer, checking that next. |
But fyne-cross detects the version now, so it should work either way, that's what is throwing me still off. The version check uses the same binary path, so the check should kick in. The only way this doesn't happen would be if the fyne-cross code used is the old one, hence my suspicion that it's in some image, and that's also how I still understand the CI logs after reading them a few times more. |
|
I don't quite understand that comment sorry. Fyne cross sits on the host and prepares a container which contains If, for example, you are running on Linux or BSD you could try removing the Look at usages of the |
|
I think there is a misunderstanding somewhere - the Fyne version was already printed in debug mode. Here is the output locally when I print the host versions and then execute fyne cross. You can see the docker image contains an older Fyne CLI and it is printed by previously released fyne-cross version: |
This reverts commit 8b2c727. Bumping the Go version breaks the tests, probably better to do separately.
|
Looks like there are 2 failures, the lint which we will have to ignore for now and the other is: "The configuration 'macos-13-us-default' is not supported" |
|
Well done on fixing the CI config. |
fyne-cross and goreleaser aren't quite ready for Watchman yet. Issue: fyne-io/fyne-cross#334
Description:
Sync changed Fyne CLI tool flags after report on Slack.
Checklist: