From 6c67159e9469f4cad78e31cb72b021889ff06658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ti=E1=BA=BFn=20Nguy=E1=BB=85n=20Kh=E1=BA=AFc?= Date: Wed, 24 Jul 2024 01:46:59 +1200 Subject: [PATCH] ci: derive snapshot version from current version --- .github/workflows/snapshot-publishing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/snapshot-publishing.yml b/.github/workflows/snapshot-publishing.yml index 06b21dd7..4f29ded8 100644 --- a/.github/workflows/snapshot-publishing.yml +++ b/.github/workflows/snapshot-publishing.yml @@ -19,7 +19,7 @@ jobs: - run: yarn build:packages - - run: yarn workspaces foreach -At --no-private version 0.0.0-snapshot.${{ github.run_number }}+$(git rev-parse --short HEAD) --immediate + - run: yarn workspaces foreach -At --no-private version $(npm pkg get version --workspaces=false | tr -d \")-snapshot.${{ github.run_number }}+$(git rev-parse --short HEAD) --immediate - run: scripts/publish-snapshot.sh env: