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 c24d463 commit 159ef6aCopy full SHA for 159ef6a
2 files changed
.github/workflows/build.yml
@@ -36,3 +36,8 @@ jobs:
36
with:
37
name: luna-artifacts
38
path: ./luna.zip
39
+
40
+ - name: Get version from package.json
41
+ run: |
42
+ VERSION=$(jq -r .version ./dist/package.json)
43
+ echo "VERSION=${VERSION}" >> $GITHUB_ENV
.github/workflows/releaseDev.yml
@@ -15,6 +15,8 @@ jobs:
15
Release:
16
name: Release dev on GitHub
17
needs: Build
18
+ env:
19
+ VERSION: ${{ needs.Build.outputs.version }}
20
runs-on: ubuntu-latest
21
22
steps:
@@ -24,11 +26,6 @@ jobs:
24
26
25
27
path: ./dist/
28
- - name: Get version from package.json
- run: |
29
- VERSION=$(jq -r .version ./dist/package.json)
30
- echo "VERSION=${VERSION}" >> $GITHUB_ENV
31
-
32
- name: Publish dev release on GitHub
33
uses: marvinpinto/action-automatic-releases@latest
34
0 commit comments