Skip to content

Commit e5859a9

Browse files
committed
tag before build
1 parent b18f573 commit e5859a9

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/build.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ jobs:
4343
# with:
4444
# diff-search: true
4545

46+
- name: get-npm-version
47+
id: package-version
48+
uses: martinbeentjes/npm-get-version-action@master
49+
50+
- uses: rickstaa/action-create-tag@v1
51+
with:
52+
tag: "v${{ steps.package-version.outputs.current-version}}"
53+
4654
- name: Build addon package
4755
run: ./build.sh
4856

@@ -58,13 +66,7 @@ jobs:
5866
# name: description
5967
# path: RELEASE_BODY.md
6068

61-
- name: get-npm-version
62-
id: package-version
63-
uses: martinbeentjes/npm-get-version-action@master
6469

65-
- uses: rickstaa/action-create-tag@v1
66-
with:
67-
tag: "v${{ steps.package-version.outputs.current-version}}"
6870

6971
- uses: ncipollo/release-action@v1
7072
name: Create Release

0 commit comments

Comments
 (0)