Skip to content

fix link to changelog on releases of Ember >6.0.0 #1150

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BoussonKarel
Copy link

No description provided.

Copy link

netlify bot commented Jun 10, 2025

Deploy Preview for ember-website ready!

Name Link
🔨 Latest commit f981cb3
🔍 Latest deploy log https://app.netlify.com/projects/ember-website/deploys/6848261bd3eb5f0008a9c5bf
😎 Deploy Preview https://deploy-preview-1150--ember-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

return `https://github.com/${this.repo}/blob/v${this.lastRelease}/${this.changelogPath}`;
const tagName = this.tagName ?? `v${this.lastRelease}`;

return `https://github.com/${this.repo}/blob/${tagName}/${this.changelogPath}`;
Copy link
Member

Choose a reason for hiding this comment

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

Wonder if we could just hardcode it to add the -ember-source suffix.

Would avoid requiring updating an extra property to be manually.

@mansona perhaps you know if it will always be the case now? (I know we're experimenting with release-plan, but not sure if this is related)

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

But what if ember-data or some other package changes the tagging strategy? Do we want to have an if block for each package? Why not put that in the data then?

Or update the project data to have a tag format that uses other properties to generate the tag:

...
repo: emberjs/ember.js
packageName: ember-source # For monorepos / workspaces
lastRelease: 6.4.0 # Manually update, see https://libraries.io/npm/ember-source throughout
tagFormat: v{{lastRelease}}-{{packageName}}
...

So adding a packageName for monorepos (can also be good for other links) and a tagFormat that specifies how to make up the tag?

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.

4 participants