Compare commits

..

2 Commits

Author SHA1 Message Date
3f5a2f92d4 1.9.100
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-06-23 13:35:28 +02:00
53eb47672c fix(mod_commit): Fix variable reassignment issue in changelog writing step 2024-06-23 13:35:28 +02:00
4 changed files with 31 additions and 6 deletions

25
changelog.md Normal file
View File

@ -0,0 +1,25 @@
# Changelog
## {{nextVersion}} - {{nextVersionMessage}}
- Fix: General core updates
## 1.9.99
- Fix: General core updates
## 1.9.98
- Fix: General core updates
## 1.9.97
- Fix: General core updates
## 1.9.96
- Fix: General core updates
## 1.9.95
- Fix: General core updates

View File

@ -1,7 +1,7 @@
{
"name": "@git.zone/cli",
"private": false,
"version": "1.9.99",
"version": "1.9.100",
"description": "A CLI toolbelt to streamline local development cycles by using various gitzone utilities.",
"main": "dist_ts/index.ts",
"typings": "dist_ts/index.d.ts",

View File

@ -1,8 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
* autocreated commitinfo by @push.rocks/commitinfo
*/
export const commitinfo = {
name: '@git.zone/cli',
version: '1.9.99',
version: '1.9.100',
description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.'
}

View File

@ -70,9 +70,9 @@ export const run = async (argvArg: any) => {
await commitInfo.writeIntoPotentialDirs();
logger.log('info', `Writing changelog.md ...`);
const changelog = nextCommitObject.changelog;
changelog.replaceAll('{{nextVersion}}', (await commitInfo.getNextPlannedVersion()).versionString);
changelog.replaceAll('{{nextVersionMessage}}', commitString);
let changelog = nextCommitObject.changelog;
changelog = changelog.replaceAll('{{nextVersion}}', (await commitInfo.getNextPlannedVersion()).versionString);
changelog = changelog.replaceAll('{{nextVersionMessage}}', commitString);
await plugins.smartfile.memory.toFs(changelog, plugins.path.join(paths.cwd, `changelog.md`));