Files
fressh/apps/mobile/.release-it.ts
2025-10-06 20:38:07 -04:00

40 lines
984 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { type Config } from 'release-it';
export default {
npm: { publish: false, ignoreVersion: true },
git: {
requireCleanWorkingDir: true,
tagName: '${npm.name}-v${version}',
tagAnnotation: '${npm.name} v${version}',
tagMatch: '${npm.name}-v*',
commitMessage: 'chore(${npm.name}): release v${version}',
push: true,
},
github: {
release: true,
releaseName: '${npm.name} v${version}',
assets: [
'android/app/build/outputs/apk/release/app-release.apk',
// or the AAB, if thats your primary store artifact:
// 'android/app/build/outputs/bundle/release/app-release.aab'
],
},
plugins: {
'@release-it/conventional-changelog': {
preset: 'conventionalcommits',
infile: 'CHANGELOG.md',
gitRawCommitsOpts: { path: 'apps/mobile' },
},
},
hooks: {
'before:init': ['turbo run lint:check'],
'before:github:release': 'turbo run build:signed:apk',
'after:release': 'echo "Released ${npm.name} v${version}"',
},
} satisfies Config;