Skip to content

Commit 1f4f94c

Browse files
committed
ci
1 parent 87f88cf commit 1f4f94c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ jobs:
1111
run:
1212
shell: pwsh
1313
steps:
14+
- name: Extract version from tag (dev)
15+
if: github.event_name == 'workflow_dispatch'
16+
run: echo "VERSION=0.0.0" >> $env:GITHUB_ENV
17+
1418
- name: Extract version from tag
15-
id: vars
19+
if: github.ref_type == 'tag'
1620
run: echo "VERSION=$($env:GITHUB_REF -replace 'refs/tags/v','')" >> $env:GITHUB_ENV
1721

1822
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)