Skip to content

Commit

Permalink
chore: fix default image version
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Jul 31, 2024
1 parent 0fee06c commit bd5c9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dashmate/configs/defaults/getBaseConfigFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { version } = JSON.parse(fs.readFileSync(path.join(PACKAGE_ROOT_DIR, 'pack
*/
export default function getBaseConfigFactory(homeDir) {
const prereleaseTag = semver.prerelease(version) === null ? '' : `-${semver.prerelease(version)[0]}`;
const dockerImageVersion = `${semver.major(version)}.${semver.minor(version)}${prereleaseTag}`;
const dockerImageVersion = `${semver.major(version)}${prereleaseTag}`;

/**
* @typedef {function} getBaseConfig
Expand Down

0 comments on commit bd5c9d8

Please sign in to comment.