Skip to content

Commit

Permalink
we should update dynamic dependencies for beta builds irrespective of
Browse files Browse the repository at this point in the history
their expirable status
  • Loading branch information
nisheetjain committed Oct 20, 2015
1 parent 7fae675 commit 342bb8b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/GulpUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,8 @@ class GulpUtils {
case "beta":
// If this package is taking "latest" and we are building a beta package,
// then update the dependency to point to the beta version of the package
if (entry.expirationIntervalInHours) {
var packageJson: IPackageJson = GulpUtils.getPackageJson(srcPath, entry.packageName);
entry.packageId = entry.packageName + "@" + GulpUtils.transformPackageVersion(packageJson.version, buildType);
}
var packageJson: IPackageJson = GulpUtils.getPackageJson(srcPath, entry.packageName);
entry.packageId = entry.packageName + "@" + GulpUtils.transformPackageVersion(packageJson.version, buildType);
// intentional pass through, no "break;"
case "release":
delete entry.dev;
Expand Down

0 comments on commit 342bb8b

Please sign in to comment.