Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Publish deprecation message for branch-main
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Oct 31, 2023
1 parent ffd1b52 commit 20c3a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/src/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function getVersionFromRelease(release, definitionId) {
}

// Is a branch
return '0.204.1';
return 'dev';
}

// Look up distro and fallback to debian if not specified
Expand Down Expand Up @@ -202,7 +202,7 @@ function getTagsForVersion(definitionId, version, registry, registryPath, varian
// If the definition states that only versioned tags are returned and the version is 'dev',
// add the definition Id to ensure that we do not incorrectly hijack a tag from another definition.
if (version === 'dev') {
version = config.definitionBuildSettings[definitionId].versionedTagsOnly ? `dev-${definitionId.replace(/-/mg,'')}` : 'dev';
version = config.definitionBuildSettings[definitionId].versionedTagsOnly ? `dev-${definitionId.replace(/-/mg,'')}` : 'branch-main';
}


Expand Down

0 comments on commit 20c3a54

Please sign in to comment.