Print changeset

pull/326/head
Andrew Kahr 2022-01-25 23:15:18 -08:00
parent bd1602dad0
commit 57636bcf23
3 changed files with 4 additions and 1 deletions

1
dist/index.js vendored
View File

@ -1335,6 +1335,7 @@ class SetupMac {
static setup(buildParameters, actionFolder) { static setup(buildParameters, actionFolder) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
const [, changeset] = yield unity_changeset_1.getUnityChangeset(buildParameters.version); const [, changeset] = yield unity_changeset_1.getUnityChangeset(buildParameters.version);
console.log(changeset);
//Since we are using shell scripts on the host, we need to set the environment variables from here //Since we are using shell scripts on the host, we need to set the environment variables from here
process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`; process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`;
process.env.UNITY_VERSION = buildParameters.version; process.env.UNITY_VERSION = buildParameters.version;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,4 @@
/* eslint no-console: "off" */
import { BuildParameters } from '..'; import { BuildParameters } from '..';
import { getUnityChangeset } from 'unity-changeset'; import { getUnityChangeset } from 'unity-changeset';
@ -6,6 +7,7 @@ class SetupMac {
public static async setup(buildParameters: BuildParameters, actionFolder: string) { public static async setup(buildParameters: BuildParameters, actionFolder: string) {
const [, changeset] = await getUnityChangeset(buildParameters.version); const [, changeset] = await getUnityChangeset(buildParameters.version);
console.log(changeset);
//Since we are using shell scripts on the host, we need to set the environment variables from here //Since we are using shell scripts on the host, we need to set the environment variables from here
process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`; process.env.SCRIPT_DIRECTORY = `${actionFolder}/platforms/mac/`;
process.env.UNITY_VERSION = buildParameters.version; process.env.UNITY_VERSION = buildParameters.version;