Skip to content

Commit 4b75f0c

Browse files
Merge pull request #1189 from digma-ai/fix/ci
Fix release workflow
2 parents 75554f9 + d384971 commit 4b75f0c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/bump.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ jobs:
3030
git add package.json package-lock.json
3131
git commit -m "Bump version to ${{ inputs.version }} [skip ci]"
3232
git tag "v${{ inputs.version }}"
33-
git push --follow-tags
33+
git push
34+
git push origin "v${{ inputs.version }}"

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
name: Lint & test & build & publish release
22

3-
# Controls when the workflow will run
43
on:
54
workflow_dispatch:
65
release:
76
types: [released]
87

9-
# permissions are needed if pushing to ghcr.io
108
permissions:
11-
packages: write
9+
contents: write
1210

1311
jobs:
1412
lint-test:
@@ -61,7 +59,7 @@ jobs:
6159
- if: steps.node-modules-cache.outputs.cache-hit != 'true'
6260
run: npm ci
6361

64-
- run: npm run build
62+
- run: npm run build:prod
6563

6664
- run: zip -r dist-${{ github.event.release.tag_name }}.zip dist
6765

0 commit comments

Comments
 (0)