From c4c9b11bc29b84daf0a064eb633a3ce303b009a1 Mon Sep 17 00:00:00 2001 From: EvolutionX Date: Wed, 29 Jun 2022 11:50:10 +0530 Subject: [PATCH] ci: npm version stuff --- .github/workflows/continuous-delivery.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-delivery.yml b/.github/workflows/continuous-delivery.yml index 8cc0ec6..22b7963 100644 --- a/.github/workflows/continuous-delivery.yml +++ b/.github/workflows/continuous-delivery.yml @@ -30,6 +30,8 @@ jobs: run: sern - name: Publish to npm - run: npm publish --tag dev + run: | + npm version --preid "dev.$(git rev-parse --verify --short HEAD)" + npm publish --tag dev env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}