Skip to content

Commit b371588

Browse files
committed
Autoupdate test
1 parent 9d8d933 commit b371588

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- "v*"
6+
- "v*.*.*"
77

88
jobs:
99
release:
@@ -14,12 +14,16 @@ jobs:
1414
uses: actions/checkout@v1
1515

1616
- uses: actions/checkout@v2
17+
18+
- name: "Set env"
19+
run: "echo \"RELEASE_VERSION=${GITHUB_REF#refs/*/}\"" >> $GITHUB_ENV"
20+
1721
- name: Find and Replace
1822
uses: jacobtomlinson/gha-find-replace@v2
1923
with:
2024
include: "src/jenv.ps1"
2125
find: "\\$JENV_VERSION = \"(.+?)\""
22-
replace: "world"
26+
replace: '$JENV_VERSION = "${{ env.RELEASE_VERSION }}"'
2327
regex: true
2428

2529
- name: "Zip files"

0 commit comments

Comments
 (0)