Skip to content

feat: use git-derived version in container image#422

Draft
Mogyuchi wants to merge 1 commit intomainfrom
git-derived-version
Draft

feat: use git-derived version in container image#422
Mogyuchi wants to merge 1 commit intomainfrom
git-derived-version

Conversation

@Mogyuchi
Copy link
Collaborator

@Mogyuchi Mogyuchi commented Jun 5, 2024

gitオブジェクトに基づくバージョンを使うようにします。
これにより、edgeイメージなどにおけるバージョン表示の情報量を増やします。

@Mogyuchi Mogyuchi self-assigned this Jun 5, 2024
@Mogyuchi Mogyuchi force-pushed the git-derived-version branch from be0a8f1 to 91b3d8e Compare June 5, 2024 10:51
@Mogyuchi Mogyuchi force-pushed the git-derived-version branch from 91b3d8e to 5528e65 Compare June 5, 2024 10:55
@Mogyuchi Mogyuchi marked this pull request as ready for review June 5, 2024 11:01
@Mogyuchi Mogyuchi requested a review from cm-ayf June 5, 2024 11:07
@Mogyuchi Mogyuchi marked this pull request as draft June 6, 2024 17:46
@cm-ayf
Copy link
Collaborator

cm-ayf commented Jun 8, 2024

package.jsonのversionプロパティをいじるのは良くないのでは?ということで別の方法を模索中

@Mogyuchi
Copy link
Collaborator Author

Mogyuchi commented Jan 2, 2026

esbuild-plugin-version-injector が deprecated になっているので、unplugin-replace に変更する。

@cm-ayf
Copy link
Collaborator

cm-ayf commented Jan 2, 2026

unplugin-replace にするなら、package.json#version 以外に文字列渡せそうね

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.

2 participants