mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-30 08:26:59 +02:00
Tools: Update post release commands
This commit is contained in:
parent
bef9a29581
commit
6b9de394ca
@ -82,12 +82,11 @@ async function insertChangelog(tag: string, changelogPath: string, changelog: st
|
|||||||
|
|
||||||
export function releaseFinalGitCommands(appName: string, newVersion: string, newTag: string): string {
|
export function releaseFinalGitCommands(appName: string, newVersion: string, newTag: string): string {
|
||||||
const finalCmds = [
|
const finalCmds = [
|
||||||
'git pull',
|
|
||||||
'git add -A',
|
'git add -A',
|
||||||
`git commit -m "${appName} ${newVersion}"`,
|
`git commit -m "${appName} ${newVersion}"`,
|
||||||
`git tag "${newTag}"`,
|
`git tag "${newTag}"`,
|
||||||
'git push',
|
'git push',
|
||||||
'git push --tags',
|
`git push origin refs/tags/${newTag}`,
|
||||||
];
|
];
|
||||||
|
|
||||||
return finalCmds.join(' && ');
|
return finalCmds.join(' && ');
|
||||||
|
Loading…
Reference in New Issue
Block a user