Skip to content

Commit

Permalink
Revert "comment out auto-versioning"
Browse files Browse the repository at this point in the history
This reverts commit 12c34a0.
  • Loading branch information
beebls committed Aug 3, 2023
1 parent 12c34a0 commit e45b9b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/custom-changelog/dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,7 @@ function run() {
let newVersion = `${parseInt(oldVersion.substring(0, 1)) + 1}${oldVersion.substring(1)}`;
// Generate the string changelog
let stringChangelog = filterChangeLog(yield (0, generateChangelog_1.generateStringChangelog)(tagPrefix, preset, newVersion, 1, config, gitPath, !prerelease));
// IN PROG CHANGE, CONSULT TORMAK MAYBE WE CAN MAKE SOMETHING BETTER
// newVersion = calcTrueNewVersionFromLog(oldVersion, stringChangelog);
let newVersion = oldVersion;
newVersion = calcTrueNewVersionFromLog(oldVersion, stringChangelog);
let gitTag = `${tagPrefix}${newVersion}`;
core.info(`Calculated version: "${newVersion}"`);
core.info(`Calculated tag: "${gitTag}"`);
Expand Down Expand Up @@ -36101,7 +36099,7 @@ class SemVer {
case 'minor':
// If this is a pre-minor version, bump up to the same minor version.
// Otherwise increment minor.
// 1.2.0-5 bumps to 1
// 1.2.0-5 bumps to 1.2.0
// 1.2.1 bumps to 1.3.0
if (this.patch !== 0 || this.prerelease.length === 0) {
this.minor++
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CSSLoader-Desktop",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit e45b9b6

Please sign in to comment.