Skip to content

Commit 3aeb7e3

Browse files
authored
npm pre-release: add git-sha (#958)
* npm pre-release: add git-sha * remove test
1 parent 5bbe849 commit 3aeb7e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ jobs:
240240
if: github.ref == 'refs/heads/master'
241241
working-directory: server
242242
run: |
243-
npm version preminor --preid next
243+
npm version preminor --preid next-$(git rev-parse --short HEAD)
244244
npm publish --access public --tag next
245245
env:
246246
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)