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: improve release workflow#60

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
matifali merged 8 commits intomainfrommatifali/pre-release
Jul 31, 2024
Merged

Conversation

matifali
Copy link
Member

@matifalimatifali commentedJul 30, 2024
edited
Loading

This PR fixes a few things.

  1. Fixes an issue whererc tags are marked as latest. I saw this withv0.0.11-rc.1.
  2. Also, we are using deprecated actions; replace themgh release create.

@matifalimatifali requested review fromjohnstcn andkylecarbs and removed request forjohnstcnJuly 30, 2024 10:56
This should handle uploading asset to existing release when releases are created manually.
@matifalimatifali requested a review fromjohnstcnJuly 30, 2024 14:54
Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

Consider addingmaybedryrun() from coder'slib.sh to make it easier to test out changes like this.

matifali reacted with eyes emoji
@matifalimatifali requested a review fromjohnstcnJuly 31, 2024 09:45
@matifalimatifali self-assigned thisJul 31, 2024
@matifali
Copy link
MemberAuthor

tested script to publishhttps://github.com/coder/coder-logstream-kube/releases/tag/v0.0.11-rc.1
It handles all cases, even with manual releases.

johnstcn reacted with hooray emoji

if gh release view $version; then
echo "Release $version already exists"
exit 0
else
Copy link
Member

Choose a reason for hiding this comment

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

nit: can remove else case and outdent below block due toexit 0

matifali reacted with thumbs up emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I also discovered that thegh release view is interactive and ensured it could run noninteractively.

Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

Nice!

@matifalimatifali merged commitcebc951 intomainJul 31, 2024
1 check passed
@matifalimatifali deleted the matifali/pre-release branchJuly 31, 2024 12:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@kylecarbskylecarbsAwaiting requested review from kylecarbs

Assignees

@matifalimatifali

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@matifali@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp