File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 12
12
with :
13
13
fetch-depth : 0
14
14
15
- - name : Compute tag name
16
- id : compute-tag
17
- run : |
18
- echo Computing next tag number
19
- LASTPATCH=$(git describe --tags | cut -d- -f1 | cut -d. -f3)
20
- PATCH=$(($LASTPATCH+1))
21
- echo "::set-output name=tagname::2.1.${PATCH}"
22
-
23
15
- name : Set up Ruby
24
16
uses : ruby/setup-ruby@v1
25
17
with :
29
21
- name : Build release assets
30
22
run : bundle exec rake book:build
31
23
24
+ - name : Compute tag name
25
+ id : compute-tag
26
+ run : |
27
+ echo Computing next tag number
28
+ LASTPATCH=$(git describe --tags | cut -d- -f1 | cut -d. -f3)
29
+ PATCH=$(($LASTPATCH+1))
30
+ echo "{tagname}={2.1.${PATCH}}" >> $GITHUB_OUTPUT
31
+
32
32
- name : Create release
33
33
uses : ncipollo/release-action@v1
34
34
with :
You can’t perform that action at this time.
0 commit comments