@24i/smartapps-bigscreen-rnv-build-engine 0.17.19 → 0.17.20-alpha.2696

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ const path_1 = require("path");
31
31
  const resolvers_1 = require("../../resolvers");
32
32
  const urlsMarkdown_1 = require("./urlsMarkdown");
33
33
  const token = process.env.GITHUB_TOKEN;
34
- const targetCommit = process.env.TRAVIS_COMMIT;
34
+ const targetCommit = process.env.CI_COMMIT_SHA || process.env.TRAVIS_COMMIT;
35
35
  const githubContentType = 'application/vnd.github.v3+json';
36
36
  const githubReleaseNotesPath = 'RELEASE_NOTES_GITHUB.md';
37
37
  const handleResponseErrors = (response) => {
@@ -72,7 +72,7 @@ const createRelease = (c) => {
72
72
  const { packageVersion, git } = c.buildConfig.common;
73
73
  const versionLabel = `v${packageVersion}`;
74
74
  (0, assert_1.ok)(token, 'process.env.GITHUB_TOKEN is not set!');
75
- (0, assert_1.ok)(targetCommit, 'process.env.TRAVIS_COMMIT is not set!');
75
+ (0, assert_1.ok)(targetCommit, 'process.env.CI_COMMIT_SHA is not set!');
76
76
  (0, assert_1.ok)(git.owner, 'Missing value for rnv config prop: common.git.owner');
77
77
  (0, assert_1.ok)(git.repo, 'Missing value for rnv config prop: common.git.repo');
78
78
  (0, assert_1.ok)(packageVersion);
@@ -103,7 +103,7 @@ const configureSigning = (c) => {
103
103
  const platformKey = c.platform === constants_1.Platforms.FIRETV ? 'FIRETV' : 'ANDROIDTV';
104
104
  const getValue = (envKey, configKey) => {
105
105
  const [key1, key2] = [platformKey, 'ANDROIDTV'].map((platform) => `${platform}_${envKey}`);
106
- return process.env[key1] ?? process.env[key2] ?? getConfigProp(c, c.platform, configKey);
106
+ return process.env[key1] || process.env[key2] || getConfigProp(c, c.platform, configKey);
107
107
  };
108
108
  const storeFile = getValue('STORE_FILE', 'storeFile');
109
109
  const keyAlias = getValue('KEY_ALIAS', 'keyAlias');
@@ -200,7 +200,7 @@ const configureEntryUrl = (c) => {
200
200
  const buildGradleFileName = 'build.gradle';
201
201
  const buildGradleFilePath = path.join(rnv_1.Common.getPlatformProjectDir(c), 'app', buildGradleFileName);
202
202
  const entryUrl = getHostedAppEntryUrl(c);
203
- const theoLicense = process.env['THEO_LICENSE'] ??
203
+ const theoLicense = process.env['THEO_LICENSE'] ||
204
204
  rnv_1.Common.getConfigProp(c, c.platform, 'theoLicense', '');
205
205
  const injects = [{
206
206
  pattern: '{{APP_URL}}',
@@ -100,11 +100,11 @@ dependencies {
100
100
  if (useTheoPlayer) {
101
101
  compileOnly "com.twentyfouri.player:exoplayer:0.7.0-alpha.3"
102
102
  implementation "com.twentyfouri.player:theoplayer:0.7.0-alpha.3"
103
- implementation "com.theoplayer.theoplayer-sdk-android:core:6.2.1"
103
+ implementation "com.theoplayer.theoplayer-sdk-android:core:6.8.0"
104
104
  } else {
105
105
  implementation "com.twentyfouri.player:exoplayer:0.7.0-alpha.3"
106
106
  compileOnly "com.twentyfouri.player:theoplayer:0.7.0-alpha.3"
107
- compileOnly "com.theoplayer.theoplayer-sdk-android:core:6.2.1"
107
+ compileOnly "com.theoplayer.theoplayer-sdk-android:core:6.8.0"
108
108
  }
109
109
 
110
110
  implementation project(':common')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.17.19",
3
+ "version": "0.17.20-alpha.2696",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {