We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c69dc4 commit a3a0e87Copy full SHA for a3a0e87
.github/workflows/release.yml
@@ -3,7 +3,8 @@ name: Build and Release
3
on:
4
push:
5
tags:
6
- - 'v*' # Trigger on version tags like v1.0.0, v2.1.3, etc.
+ - 'v[0-9]+.[0-9]+.[0-9]+' # Trigger on semantic version tags like v1.0.0, v2.1.3, etc.
7
+ - 'v[0-9]+.[0-9]+.[0-9]+-*' # Also support pre-release tags like v1.0.0-beta.1
8
9
jobs:
10
build-and-release:
@@ -35,6 +36,14 @@ jobs:
35
36
- name: Build project
37
run: npm run build
38
39
+ - name: Verify build output
40
+ run: |
41
+ if [ ! -d "dist" ]; then
42
+ echo "Error: dist directory not found after build"
43
+ exit 1
44
+ fi
45
+ echo "Build output verified successfully"
46
+
47
- name: Create release archive
48
run: |
49
cd dist
0 commit comments