Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
create a meaningful RomVariant identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
zefie authored and xdarklight committed Apr 2, 2017
1 parent 601d331 commit 4839bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var buildInfo = require('yargs')


function createNewRomVariantFor(device) {
var variantName = device.name + '_' + new Date().getTime();
var variantName = device.name + '_' + buildInfo.api_level + '_' + buildInfo.channel.toLowerCase();
var romVariant = models.RomVariant.build({
DeviceId: device.id,
name: variantName,
Expand Down

0 comments on commit 4839bd4

Please sign in to comment.