mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 06:12:51 +00:00
Release stuff
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"npm": false,
|
||||
"git": {
|
||||
"requireCleanWorkingDir": true,
|
||||
"commitMessage": "chore(release): v${version}",
|
||||
"tagName": "v${version}",
|
||||
"push": true
|
||||
},
|
||||
"github": {
|
||||
"release": true,
|
||||
"assets": ["android/app/build/outputs/apk/release/app-release.apk"]
|
||||
},
|
||||
"plugins": {
|
||||
"@release-it/conventional-changelog": {
|
||||
"preset": "conventionalcommits",
|
||||
"infile": "CHANGELOG.md"
|
||||
}
|
||||
},
|
||||
"hooks": {
|
||||
"before:init": ["pnpm run lint:check", "pnpm run typecheck"],
|
||||
"before:github:release": "pnpm run build:signed:apk"
|
||||
}
|
||||
}
|
||||
25
apps/mobile/.release-it.ts
Normal file
25
apps/mobile/.release-it.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { type Config } from 'release-it';
|
||||
|
||||
export default {
|
||||
git: {
|
||||
requireCleanWorkingDir: true,
|
||||
commitMessage: 'chore(release): v${version}',
|
||||
tagName: 'v${version}',
|
||||
push: true,
|
||||
},
|
||||
github: {
|
||||
release: true,
|
||||
assets: ['android/app/build/outputs/apk/release/app-release.apk'],
|
||||
},
|
||||
plugins: {
|
||||
'release-it-pnpm': {},
|
||||
'@release-it/conventional-changelog': {
|
||||
preset: 'conventionalcommits',
|
||||
infile: 'CHANGELOG.md',
|
||||
},
|
||||
},
|
||||
hooks: {
|
||||
'before:init': ['pnpm run lint:check', 'pnpm run typecheck'],
|
||||
'before:github:release': 'pnpm run build:signed:apk',
|
||||
},
|
||||
} satisfies Config;
|
||||
@@ -97,6 +97,7 @@
|
||||
"prettier": "^3.6.2",
|
||||
"prettier-plugin-organize-imports": "^4.2.0",
|
||||
"release-it": "^19.0.4",
|
||||
"release-it-pnpm": "^4.6.6",
|
||||
"tsx": "^4.20.5",
|
||||
"typescript": "~5.9.2",
|
||||
"typescript-eslint": "^8.44.0"
|
||||
|
||||
@@ -60,7 +60,7 @@ const signedBuildCommand = command({
|
||||
long: 'gh-release',
|
||||
type: boolean,
|
||||
short: 'g',
|
||||
description: 'Whether to create a GitHub release',
|
||||
description: 'Whether to create a GitHub release (deprecated, use release-it instead)',
|
||||
defaultValue: () => false,
|
||||
}),
|
||||
},
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
"**/*.tsx",
|
||||
".expo/types/**/*.ts",
|
||||
"expo-env.d.ts",
|
||||
"eslint.config.js"
|
||||
"eslint.config.js",
|
||||
".release-it.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user