Skip to content

Commit 4cb274b

Browse files
committed
workflow: correctly inject version into executable
1 parent 2115b39 commit 4cb274b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-and-publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
files: "package.json"
2020
search-text: "\"version\": \"0.0.0\""
2121
replacement-text: "\"version\": \"${{ github.event.release.tag_name }}\""
22+
- name: Export version as environment variable
23+
run: export THYME_VERSION=${{ github.event.release.tag_name }}
2224
- name: Setup Node
2325
uses: actions/setup-node@v4
2426
with:

0 commit comments

Comments
 (0)