From 6144f8ecd08adf649f6b9da44d00552c44cdc1af Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Fri, 9 Feb 2024 09:49:25 +0100 Subject: [PATCH] fix(actions): Stop versioning actions --- actions/plan/project.json | 15 ++++----------- actions/run-many/project.json | 15 ++++----------- actions/set-shas/project.json | 19 +++++++++++++------ 3 files changed, 21 insertions(+), 28 deletions(-) diff --git a/actions/plan/project.json b/actions/plan/project.json index f23bb61d..157f34cd 100644 --- a/actions/plan/project.json +++ b/actions/plan/project.json @@ -4,16 +4,6 @@ "sourceRoot": "packages/core/src", "projectType": "library", "targets": { - "version": { - "executor": "@jscutlery/semver:version", - "dependsOn": [ - "compile", - "commit" - ], - "options": { - "versionTagPrefix": "${target}@" - } - }, "compile": { "executor": "nx:run-commands", "options": { @@ -22,8 +12,11 @@ ] } }, - "commit": { + "publish": { "executor": "nx:run-commands", + "dependsOn": [ + "compile" + ], "options": { "commands": [ "git add ./actions/plan/dist -f || true", diff --git a/actions/run-many/project.json b/actions/run-many/project.json index 20752f23..983310ea 100644 --- a/actions/run-many/project.json +++ b/actions/run-many/project.json @@ -4,16 +4,6 @@ "sourceRoot": "packages/core/src", "projectType": "library", "targets": { - "version": { - "executor": "@jscutlery/semver:version", - "dependsOn": [ - "compile", - "commit" - ], - "options": { - "versionTagPrefix": "${target}@" - } - }, "compile": { "executor": "nx:run-commands", "options": { @@ -22,8 +12,11 @@ ] } }, - "commit": { + "publish": { "executor": "nx:run-commands", + "dependsOn": [ + "compile" + ], "options": { "commands": [ "git add ./actions/run-many/dist -f || true", diff --git a/actions/set-shas/project.json b/actions/set-shas/project.json index 250ce4a4..603ea107 100644 --- a/actions/set-shas/project.json +++ b/actions/set-shas/project.json @@ -4,12 +4,6 @@ "sourceRoot": "packages/core/src", "projectType": "library", "targets": { - "version": { - "executor": "@jscutlery/semver:version", - "options": { - "versionTagPrefix": "${target}@" - } - }, "compile": { "executor": "nx:run-commands", "options": { @@ -17,6 +11,19 @@ "npx ncc build ./actions/set-shas/src/set-shas.ts --out ./actions/set-shas/dist" ] } + }, + "publish": { + "executor": "nx:run-commands", + "dependsOn": [ + "compile" + ], + "options": { + "commands": [ + "git add ./actions/set-shas/dist -f || true", + "git commit -m 'chore(actions-set-shas): Add dist' || true" + ], + "parallel": false + } } }, "tags": []