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

feat: add additional release links to the release#282

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
gr2m merged 1 commit intosemantic-release:masterfromChumper:add/releaseLinks
Sep 7, 2020

Conversation

@Chumper
Copy link
Contributor

@ChumperChumper commentedSep 1, 2020
edited by heartsbot
Loading

A new optionaddReleases has been added.
Setting this option will instruct the plugin to append all
additional releases to the Github release on the top.

Closes#281

Screen Shot 2020-09-01 at 3 17 29 AM

satanTime reacted with thumbs up emoji
@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 1, 2020
edited by heartsbot
Loading

I am not sure about the travis error. This seems to be a generic problem, maybe with NPM?
Locally I have 100% coverage.
Screen Shot 2020-09-01 at 3 21 30 AM

@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 1, 2020
edited by heartsbot
Loading

@gr2m@pvdlg Could you help with the travis errors here? I am not sure on how to fix them.

@felipecrs
Copy link

felipecrs commentedSep 1, 2020
edited by heartsbot
Loading

I believe you can add the closure ofsemantic-release/semantic-release#1617 to this PR as well. (Closessemantic-release/semantic-release#1617)

@gr2m
Copy link
Member

gr2m commentedSep 3, 2020
edited by heartsbot
Loading

I've restarted the CI builds, but the same tests failed again. I'll need some time to investigate, and I don't know when I'll have that time right now, I'm afraid. We didn't have builds for a while, so it might be a change in some of the dependencies ...

@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 3, 2020
edited by heartsbot
Loading

I will also have a look tomorrow, I just have never seen that the travis files are in a different repository.

@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 3, 2020
edited by heartsbot
Loading

I found the error. I was using a feature that is not supported in node 10 and 12.
I was usingOptional chaining like thisproperty?.id which is not supported in node version below 13.

That is what you get when you are not mainly progamming in node.

@gr2m This can now be reviewed and merged.

Copy link
Member

@gr2mgr2m left a comment
edited by heartsbot
Loading

Choose a reason for hiding this comment

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

Great work, thank you!

@gr2m
Copy link
Member

gr2m commentedSep 6, 2020
edited by heartsbot
Loading

Actually I wonder if we should add the links to the bottom, not the top. I think it will work better, because changelog is the primary information I expect in release notes, links to sibling releases is meta information

@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 6, 2020
edited by heartsbot
Loading

I would argue against that, the release information is always short enough so that you can skip those lines and get to the changelog.
The changelog could contain a few more lines and at least in my case I am more interested in the releases than the changelog.

If you give me another hour, I can change this so that you could do:addReleases: <top|bottom|false>

Then then choice is up to the user.

@felipecrs
Copy link

felipecrs commentedSep 6, 2020
edited by heartsbot
Loading

I agree that the release links should be at the bottom and not in top. Because of the same reason of@gr2m.

@Chumper btw, the choice is a great addition since this is a breaking change. Unless we leave it default tofalse.

I suggest to include the option, leave it default to "bottom" (or whatever you decide), and then move ahead with this breaking change.

@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 6, 2020
edited by heartsbot
Loading

Sure, I will rework it to be false by default, but also to accept eitherbottom ortop and adjust the code accordingly.

gr2m reacted with thumbs up emojifelipecrs reacted with hooray emoji

@ChumperChumperforce-pushed theadd/releaseLinks branch 2 times, most recently from162d9af tocdaf2a2CompareSeptember 7, 2020 02:12
@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 7, 2020
edited by heartsbot
Loading

@gr2m@felipecrs I have added the discussed changes. Allowed values are nowfalse,top orbottom.

Default will befalse.

Please review again and merge if you think this will work.

A new option `addReleases` has been added.Setting this option will add links to other releasesto the Github release body.The option can be one of `false|"top"|"bottom"`.The default is `false` to be backward compatible.Closessemantic-release#281
@Chumper
Copy link
ContributorAuthor

Chumper commentedSep 7, 2020
edited by heartsbot
Loading

Short and informative, I applied the changes.

gr2m reacted with heart emoji

Copy link
Member

@gr2mgr2m left a comment
edited by heartsbot
Loading

Choose a reason for hiding this comment

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

Thank you Nils, this is great

@gr2mgr2m merged commitdb2e9c8 intosemantic-release:masterSep 7, 2020
@semantic-release-bot
Copy link
Collaborator

semantic-release-bot commentedSep 7, 2020
edited by heartsbot
Loading

🎉 This PR is included in version 7.1.0 🎉

The release is available on:

Yoursemantic-release bot 📦🚀

@felipecrs
Copy link

felipecrs commentedSep 7, 2020
edited by heartsbot
Loading

This is awesome!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gr2mgr2mgr2m approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Append the release channels to the release

4 participants

@Chumper@felipecrs@gr2m@semantic-release-bot

[8]ページ先頭

©2009-2025 Movatter.jp