kcp icon indicating copy to clipboard operation
kcp copied to clipboard

📖 Use `--update-aliases` on `mike deploy` correctly

Open embik opened this issue 9 months ago • 4 comments

Summary

I misunderstood the --update-aliases flag on mike deploy, which resulted in https://github.com/kcp-dev/kcp/actions/runs/8986885214/job/24684080310:

+ mike deploy --push --update-aliases v0.24 latest v0.24
error: duplicated version and alias

This PR adjusts the docs deploy script as necessary so it runs the command as intended, something like this:

mike deploy --push --update-aliases v0.24 latest

Also see https://github.com/jimporter/mike?tab=readme-ov-file#building-your-docs.

Related issue(s)

Fixes #

Release Notes

NONE

embik avatar May 07 '24 14:05 embik

/cc @xrstf

embik avatar May 07 '24 14:05 embik

/cherry-pick release-0.24

embik avatar May 07 '24 14:05 embik

@embik: once the present PR merges, I will cherry-pick it on top of release-0.24 in a new PR and assign it to you.

In response to this:

/cherry-pick release-0.24

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

kcp-ci-bot avatar May 07 '24 14:05 kcp-ci-bot

/lgtm /approve

sttts avatar May 07 '24 14:05 sttts

LGTM label has been added.

Git tree hash: c16bc1a9657b14c0541319f3b66fe6d4ecd7e1d8

kcp-ci-bot avatar May 07 '24 14:05 kcp-ci-bot

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sttts

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

kcp-ci-bot avatar May 07 '24 14:05 kcp-ci-bot

@embik: new pull request created: #3127

In response to this:

/cherry-pick release-0.24

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

kcp-ci-bot avatar May 07 '24 14:05 kcp-ci-bot