@rxap/plugin-localazy
Version:
This package provides executors and generators for integrating Localazy, a translation management platform, into Nx workspaces. It allows for downloading and uploading translations, managing configuration, and initializing Localazy within a project. The p
16 lines • 583 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetAutoTag = GetAutoTag;
function GetAutoTag() {
if (process.env.CI_COMMIT_REF_PROTECTED !== 'true') {
console.log('Skip auto tag because CI_COMMIT_REF_PROTECTED is not true');
return null;
}
if (process.env.CI_COMMIT_REF_SLUG) {
console.log('Get auto tag from CI_COMMIT_REF_SLUG');
return process.env.CI_COMMIT_REF_SLUG;
}
console.log('Could not get auto tag from CI_COMMIT_REF_SLUG');
return null;
}
//# sourceMappingURL=get-auto-tag.js.map