Skip to content

Commit

Permalink
chore(ci): add release for data-entry
Browse files Browse the repository at this point in the history
  • Loading branch information
waynevanson committed Aug 25, 2023
1 parent 30ef738 commit f7998a9
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions packages/data-entry/release-it.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
const version = '${version}';
const scope = 'plugin';

module.exports = {
plugins: {
'@release-it/conventional-changelog': {
path: '.',
infile: 'CHANGELOG.md',
preset: 'conventionalcommits',
gitRawCommitsOpts: {
path: '.',
},
},
},
git: {
push: true,
tagName: `${version}`,
pushRepo: 'git@github.com:waynevanson/data-entry-obsidian-plugin.git',
commitsPath: '.',
commitMessage: `chore(${scope}): released version ${version} [no ci]`,
requireCommits: true,
requireCommitsFail: false,
},
npm: {
publish: false,
skipChecks: true,
},
github: {
release: true,
releaseName: `${version}`,
assets: ['manifest.json', 'dist/main.js'],
},
hooks: {
'before:git:release': ['pnpm run version', 'git add --all'],
},
};

0 comments on commit f7998a9

Please sign in to comment.