Skip to content

Commit

Permalink
Adjust Copr build epoch handling for None
Browse files Browse the repository at this point in the history
Adjust how we include the epoch in the build result page.
We get the value in packit-service from Copr API and the behaviour there recently
changed: fedora-copr/copr#2876
  • Loading branch information
lbarcziova committed Aug 21, 2023
1 parent be819ab commit ba5b2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/Results/ResultsPageCopr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function getPackagesToInstall(built_packages: BuildPackage[]) {
const packageString =
packageDict.name +
"-" +
(packageDict.epoch !== 0 ? packageDict.epoch + ":" : "") +
(packageDict.epoch ? packageDict.epoch + ":" : "") +
packageDict.version +
"-" +
packageDict.release +
Expand Down

0 comments on commit ba5b2e9

Please sign in to comment.