File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
on :
2
2
push :
3
3
tags :
4
- - ' litani- *'
4
+ - ' *'
5
5
6
6
name : Create Release
7
7
@@ -15,12 +15,12 @@ jobs:
15
15
- name : Checkout code
16
16
uses : actions/checkout@v2
17
17
- name : Get Version
18
- run : echo "VERSION=$(echo ${{ github.ref }} | cut -d "/" -f 3 | cut -d "-" -f 2) " >> $GITHUB_ENV
18
+ run : echo "VERSION=${GITHUB_REF/refs\/tags\/} " >> $GITHUB_ENV
19
19
- name : Create release
20
20
uses : actions/create-release@v1
21
21
with :
22
- tag_name : litani- ${{ env.VERSION }}
23
- release_name : litani- ${{ env.VERSION }}
22
+ tag_name : ${{ env.VERSION }}
23
+ release_name : ${{ env.VERSION }}
24
24
body : |
25
25
This is Litani version ${{ env.VERSION }}.
26
26
40
40
41
41
## Ubuntu
42
42
43
- On Ubuntu, install Litani by downloading the *.deb package below for Ubuntu 20 and install with
43
+ On Ubuntu, install Litani by downloading the *.deb package below for ubuntu-20.04 and install with
44
44
45
45
```sh
46
46
# Ubuntu 20.04:
Original file line number Diff line number Diff line change 12
12
steps :
13
13
- uses : actions/checkout@v2
14
14
- name : Get Version
15
- run : echo "VERSION=$(echo ${{ github.ref }} | cut -d "/" -f 3 | cut -d "-" -f 2) " >> $GITHUB_ENV
15
+ run : echo "VERSION=${GITHUB_REF/refs\/tags\/} " >> $GITHUB_ENV
16
16
- name : Setup directory for deb package
17
17
run : |
18
18
sudo apt-get install -y mandoc scdoc ninja-build
You can’t perform that action at this time.
0 commit comments