Skip to content

fix release action#266

Merged
ashley-cui merged 1 commit into
podman-container-tools:mainfrom
Luap99:fix-release
Jun 12, 2026
Merged

fix release action#266
ashley-cui merged 1 commit into
podman-container-tools:mainfrom
Luap99:fix-release

Conversation

@Luap99

@Luap99 Luap99 commented Jun 12, 2026

Copy link
Copy Markdown
Member

We need to include the repo location to the gh cli so it knows where to create the release because we do not have/need a repo checkout here.

We need to include the repo location to the gh cli so it knows where to
create the release because we do not have/need a repo checkout here.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
RC="--prerelease"
else
# check if this version should not be marked latest
prevvers=$(gh api repos/containers/podman-machine-os/releases/latest --jq '.tag_name')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we update this line too

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

it should not be needed because the API path contains the repo

i.e. you can copy paste the command locally and run it in a terminal without a git repo and it works

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

if we look at the failed run https://github.com/podman-container-tools/podman-machine-os/actions/runs/27425617798/job/81065872136

it did print v5.8.2,v5.8.3 so the version lookup worked

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

cool sgtm

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh i was mostly talking about containers -> podman-container-tools

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh i was mostly talking about containers -> podman-container-tools

Oh totally missed that, yeah we should update that as well though because of the redirects it still works. And since the PR is green I rather merge this now and make another one with this fix later.

@Luap99 Luap99 mentioned this pull request Jun 12, 2026
@ashley-cui

Copy link
Copy Markdown
Contributor

LGTM

@ashley-cui ashley-cui merged commit f1c8754 into podman-container-tools:main Jun 12, 2026
13 of 15 checks passed
@Luap99 Luap99 deleted the fix-release branch June 12, 2026 17:09
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