File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release CLI
3
3
on :
4
4
push :
5
5
tags :
6
- - " test *"
6
+ - " v *"
7
7
8
8
jobs :
9
9
create-release :
21
21
- name : Check Release Version is Same as CLI Version
22
22
if : ${{ !endsWith(github.ref, steps.read_cli_version.outputs.value) }}
23
23
run : |
24
- echo "Tag version ${{ github.ref }} is not equal to Cargo.toml version ${{ steps.read_cli_version.outputs.value }}";
24
+ echo "Tag version ${{ github.ref }} doesn't match Cargo.toml version ${{ steps.read_cli_version.outputs.value }}";
25
25
echo "Did you forget to update version in Cargo.toml?"
26
26
exit 1
27
- - name : Always fail during testing to avoid creating a release
28
- run : |
29
- echo "Failing to avoid creating a release"
30
- exit 1
31
27
- name : Create Release
32
28
id : create_release
33
29
uses : actions/create-release@v1
You can’t perform that action at this time.
0 commit comments