Skip to content

Commit 7ed0ece

Browse files
committed
ci: Remove tag trigger from CI workflow and fix docker version check
1 parent ad2778f commit 7ed0ece

File tree

2 files changed

+1
-2
lines changed
  • .github/workflows
  • tools/workspace-plugin/src/executors/is-docker-published

2 files changed

+1
-2
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ name: Node.js CI
55

66
on:
77
push:
8-
tags: v*
98
branches: ['main']
109
pull_request:
1110
branches: ['main']

tools/workspace-plugin/src/executors/is-docker-published/executor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default async function runExecutor(options: IsDockerPublishedExecutorSche
1212
const packageJsonContent = readFileSync(packageJsonPath, 'utf-8');
1313
const pkg = JSON.parse(packageJsonContent);
1414

15-
const version = pkg.version;
15+
const version = 'v' + pkg.version;
1616

1717
if (!version) {
1818
console.error('package.json must contain a "version" field');

0 commit comments

Comments
 (0)