Skip to content
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

ビルド時のコミットIDなどを公開するように #4815

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

mei23
Copy link
Owner

@mei23 mei23 commented Feb 13, 2024

Summary

Resolve #4814

ビルド時にタグやコミットIDを取得出来れば、フッター等にあるリポジトリのリンクの隣で公開するように
リポジトリ (01234567) or リポジトリ (tag)

出来ればリンクするように

@mei23 mei23 marked this pull request as ready for review February 13, 2024 15:00
@mei23 mei23 merged commit a8455ba into mei-m544 Feb 13, 2024
3 checks passed
@mei23 mei23 deleted the mei-f-commit branch February 13, 2024 15:19
if (u.hostname === 'github.com') {
const m = u.pathname.match(/([/][^/]+[/][^/]+)/) // eg: /user/repo
if (m) {
commitUrlBase = `https://github.com/${m[1]}`; // eg: https://github.com/user/repo
Copy link
Owner Author

Choose a reason for hiding this comment

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

スラッシュ一個多い

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.

ビルド時のコミットIDなどを公開する
1 participant