Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(scripts): add script to promote mainline to stable#13054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mafredri merged 4 commits intomainfrommafredri/feat-add-promote-mainline-to-stable
Apr 24, 2024

Conversation

mafredri
Copy link
Member

@mafredrimafredri commentedApr 23, 2024
edited
Loading

Fixes#12459

Example dry-run:

Screenshot 2024-04-23 at 21 16 55

Example dry-run for non-latest version:

Screenshot 2024-04-23 at 21 17 52

Note: This PR does not yet update docs to reflect the promoted version. This will be part of#12465.

stirby reacted with eyes emoji
@mafredrimafredriforce-pushed themafredri/feat-add-promote-mainline-to-stable branch from3013aeb to3fa197bCompareApril 23, 2024 18:00
@mafredrimafredriforce-pushed themafredri/feat-add-promote-mainline-to-stable branch 2 times, most recently from02aac99 to0e2e866CompareApril 23, 2024 18:16
@mafredrimafredri marked this pull request as ready for reviewApril 23, 2024 18:19
@matifali
Copy link
Member

Do we plan to automatethis table, too?

Copy link
Member

@mtojekmtojek left a comment

Choose a reason for hiding this comment

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

Nice and clean script 👍

Copy link
Contributor

@dannykoppingdannykopping left a comment

Choose a reason for hiding this comment

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

Minor notes, LGTM

PerPage: perPage,
})
if err != nil {
return err
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest wrapping this error or adding a log line before it showing what the current action is

mafredri reacted with thumbs up emoji
if err != nil {
return err
}
logger.Info(ctx, "selected version promoted to stable")
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you provide a link to the release in the output for convenience?

mafredri reacted with thumbs up emoji
body: `## Changelog

> [!NOTE]
> This is a mainline Coder release. We advise enterprise customers without a staging environment to install our [latest stable release](https://github.com/coder/coder/releases/latest) while we refine this version. Learn more about our [Release Schedule](https://coder.com/docs/v2/latest/install/releases).
Copy link
Contributor

@dannykoppingdannykoppingApr 24, 2024
edited
Loading

Choose a reason for hiding this comment

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

I think it'd be illustrative / more complete to add a test which shows that multiple lines subsequent to[!NOTE] prefixed with> are removed; we'll likely amend this note in the future.

mafredri reacted with thumbs up emoji
@matifali
Copy link
Member

Should these PRs be chore as it's not a user facing feature? It would end up as features in our changelog.

@mafredri
Copy link
MemberAuthor

Should these PRs be chore as it's not a user facing feature? It would end up as features in our changelog.

That’s fair. I’ll change them.

@mafredrimafredri changed the titlefeat(scripts): add script to promote mainline to stablechore(scripts): add script to promote mainline to stableApr 24, 2024
@mafredri
Copy link
MemberAuthor

Do we plan to automatethis table, too?

Not that I’m aware, it’s not mentioned in#12465.

Copy link
Contributor

@dannykoppingdannykopping left a comment

Choose a reason for hiding this comment

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

👌

@mafredrimafredriforce-pushed themafredri/feat-add-promote-mainline-to-stable branch from654add1 to6898381CompareApril 24, 2024 14:24
@mafredriGraphite App
Copy link
MemberAuthor

mafredri commentedApr 24, 2024
edited
Loading

Copy link
Collaborator

@stirbystirby left a comment

Choose a reason for hiding this comment

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

Awesome.

// Example:
//
//> ## Stable (since April 23, 2024)
func addStableSince(date time.Time, body string) string {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice!!

mafredri reacted with heart emoji
@mafredrimafredri merged commitc933c75 intomainApr 24, 2024
@mafredrimafredri deleted the mafredri/feat-add-promote-mainline-to-stable branchApril 24, 2024 19:59
@mafredriGraphite App
Copy link
MemberAuthor

Merge activity

@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 24, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@dannykoppingdannykoppingdannykopping approved these changes

@mtojekmtojekmtojek approved these changes

@stirbystirbystirby approved these changes

Assignees

@mafredrimafredri

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Stable Releases: Create new release script for promoting mainline to stable
5 participants
@mafredri@matifali@dannykopping@mtojek@stirby

[8]ページ先頭

©2009-2025 Movatter.jp