From 58922bf69e0f7c055ca2a66eab92adbcfca3794c Mon Sep 17 00:00:00 2001 From: EvolutionX Date: Wed, 29 Jun 2022 12:32:14 +0530 Subject: [PATCH] ci: update cd --- .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..ebe9f00 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 run release -- --release-as "dev.$(git rev-parse --verify --short HEAD)" + npm publish --tag dev env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}