Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 1615462

Browse files
authored
Revert "DOP-2866: fix semi-versioned repo logic harder" (#683)
1 parent ba96337 commit 1615462

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/controllers/v1/slack.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ export const getDeployableJobs = async (values, entitlement, branchRepository: B
144144
);
145145

146146
if (!aliases || aliases.length === 0) {
147-
// handle non-versioned repos AND repos where only 1 version is active where there are no aliases
148-
if (non_versioned || (!publishOriginalBranchName && urlSlug === null)) {
147+
if (non_versioned) {
149148
newPayload.urlSlug = '';
150149
}
151150
deployHelper(deployable, newPayload, jobTitle, jobUserName, jobUserEmail);

0 commit comments

Comments
 (0)