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 9d8d933 commit b371588Copy full SHA for b371588
.github/workflows/release.yml
@@ -3,7 +3,7 @@ name: Release
3
on:
4
push:
5
tags:
6
- - "v*"
+ - "v*.*.*"
7
8
jobs:
9
release:
@@ -14,12 +14,16 @@ jobs:
14
uses: actions/checkout@v1
15
16
- uses: actions/checkout@v2
17
+
18
+ - name: "Set env"
19
+ run: "echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\"" >> $GITHUB_ENV"
20
21
- name: Find and Replace
22
uses: jacobtomlinson/gha-find-replace@v2
23
with:
24
include: "src/jenv.ps1"
25
find: "\\$JENV_VERSION = \"(.+?)\""
- replace: "world"
26
+ replace: '$JENV_VERSION = "${{ env.RELEASE_VERSION }}"'
27
regex: true
28
29
- name: "Zip files"
0 commit comments