Split dist file creation and version replacing from main build script

This commit is contained in:
Alejandro Celaya
2022-02-27 20:10:10 +01:00
parent 82f8636af5
commit c088259e46
7 changed files with 61 additions and 49 deletions

View File

@@ -16,7 +16,7 @@ jobs:
with:
node-version: 16.13
- name: Generate release assets
run: npm ci && npm run build ${GITHUB_REF#refs/tags/v}
run: npm ci && VERSION=${GITHUB_REF#refs/tags/v} npm run build:dist
- name: Publish release with assets
uses: docker://antonyurchenko/git-release:latest
env: