Commit 02ba792 1 parent e35b494 commit 02ba792 Copy full SHA for 02ba792
File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build :
10
10
runs-on : ubuntu-latest
11
+ outputs :
12
+ tag_name : ${{ steps.get_tag.outputs.tag_name }}
11
13
12
14
steps :
13
15
- name : Checkout code
@@ -18,11 +20,15 @@ jobs:
18
20
with :
19
21
node-version : " 20"
20
22
23
+ - name : Get tag name
24
+ id : get_tag
25
+ run : echo "tag_name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
26
+
21
27
- name : Install dependencies
22
28
run : npm ci
23
29
24
30
- name : Update version to latest trunk commit
25
- run : " find . -type f -exec sed -i 's/0.0.0-placeholder/ ${{ github.sha }}/g' {} +"
31
+ run : " find . -type f -exec sed -i 's/0.0.2-dev-e35b494710b4d5d40cc0b7adfe5398ef52307bfb/${{ steps.get_tag.outputs.tag_name }}- ${{ github.sha }}/g' {} +"
26
32
27
33
- name : Build and create plugin zip
28
34
run : npm run plugin-zip
You can’t perform that action at this time.
0 commit comments