agconf 0.3.2 → 0.3.3
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.
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -904,7 +904,7 @@ function hashContent(content) {
|
|
|
904
904
|
return `sha256:${hash.slice(0, 12)}`;
|
|
905
905
|
}
|
|
906
906
|
function getCliVersion() {
|
|
907
|
-
return true ? "0.3.
|
|
907
|
+
return true ? "0.3.3" : "0.0.0";
|
|
908
908
|
}
|
|
909
909
|
async function checkCliVersionMismatch(targetDir) {
|
|
910
910
|
const result = await readLockfile(targetDir);
|
|
@@ -2518,7 +2518,8 @@ var DEFAULT_CLI_NAME2 = "agconf";
|
|
|
2518
2518
|
var WORKFLOWS_DIR = ".github/workflows";
|
|
2519
2519
|
function getWorkflowConfig(sourceRepo, config) {
|
|
2520
2520
|
const name = config?.name ?? DEFAULT_CLI_NAME2;
|
|
2521
|
-
const
|
|
2521
|
+
const markerPrefix = config?.markerPrefix ?? DEFAULT_CLI_NAME2;
|
|
2522
|
+
const secretName = `${markerPrefix.toUpperCase().replace(/-/g, "_")}_TOKEN`;
|
|
2522
2523
|
return {
|
|
2523
2524
|
sourceRepo,
|
|
2524
2525
|
cliName: config?.cliName ?? DEFAULT_CLI_NAME2,
|