Skip to content

Fix issues around fioctl_version#935

Merged
kprosise merged 1 commit intofoundriesio:nextfrom
kprosise:add-fioctl_version-case
May 5, 2026
Merged

Fix issues around fioctl_version#935
kprosise merged 1 commit intofoundriesio:nextfrom
kprosise:add-fioctl_version-case

Conversation

@kprosise
Copy link
Copy Markdown
Contributor

Fixes included adding an export to the fioctl install steps, adding the fioctl version to the GitHub envars in the workflow files so that it is available for the doc builds, and adding a case where it isn't passed to default to latest.

This commit addresses issue FFTK-4779, "fix fioctl version…"

PR Template and Checklist

Please complete as much as possible to speed up the reviewing process.
You may delete items that are not relevant to your contribution.
Readiness and adding reviewers as appropriate is required.

All PRs should be reviewed by a technical writer/documentation team and a peer.
If effecting customers—which is a majority of content changes—a member of Customer Success must also review.

Readiness

  • Merge (pending reviews)

@kprosise kprosise requested review from a team and angolini April 30, 2026 11:12
Comment thread .github/workflows/publish-main.yml Outdated
run: |
export fv=$(wget -q -O- https://api.github.com/repos/foundriesio/fioctl/releases/latest | grep tag_name | sed -E 's/.*"([^"]+)".*/\1/')
echo "fv=$fv" >> "$GITHUB_ENV"
wget -O /tmp/fioctl https://github.com/foundriesio/fioctl/releases/download/${fv}/fioctl-linux-amd64
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

the URL is wrong, use https://github.com/foundriesio/fioctl/releases/download/latest/fioctl-linux-amd64

go back to the message I sent in slack because the curl command did not worked for me either

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll address both uses in a push early next week

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah, so the URL is conditionally wrong...where fv==latest. When fv is an actual version, things flip....meaning either we use different URLs for each case, or just stick with using latest, which was already preposed anyway.

Fixes included adding an `export` to the fioctl install steps,
updating the download URL, and switching to always using the latest.

This commit addresses issue FFTK-4779, "fix fioctl version…"

Signed-off-by: Katrina Prosise <katrina.prosise@foundries.io>
@kprosise kprosise force-pushed the add-fioctl_version-case branch from 4bd1ace to d4de8a3 Compare May 5, 2026 10:45
@kprosise kprosise merged commit 65a2a2c into foundriesio:next May 5, 2026
3 checks passed
@kprosise kprosise deleted the add-fioctl_version-case branch May 5, 2026 10:54
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