Skip to content

Commit fa4ce37

Browse files
committed
flatpak-builder: Add the git commit as the ostree commit subject
1 parent 92ae985 commit fa4ce37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flatpak-builder/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,13 @@ const build = async (manifest, manifestPath, cacheHitKey, config) => {
217217
if (config.cacheBuildDir) { cacheKey = await config.cacheKey() }
218218

219219
core.info('Building the flatpak...')
220+
const subject = `'Built from ${process.env.GITHUB_SHA || 'unknown'}'`
220221

221222
const args = [
222223
`--repo=${config.localRepoName}`,
223224
'--disable-rofiles-fuse',
224225
`--install-deps-from=${config.repositoryName}`,
226+
`--subject=${subject}`,
225227
'--force-clean',
226228
`--default-branch=${branch}`,
227229
`--arch=${config.arch}`

0 commit comments

Comments
 (0)