File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,16 @@ jobs:
31
31
before_cache :
32
32
- rm -rf /home/travis/.cargo/registry
33
33
- stage : deploy
34
- if : tag IS present
34
+ if : ( tag IS present) AND (tag =~ ^validator-v)
35
35
before_deploy :
36
36
- cargo build -p validator_worker --release --all-features --target x86_64-unknown-linux-gnu
37
- - cp target/x86_64-unknown-linux-gnu/release/validator_worker validator_worker-v $TRAVIS_TAG
37
+ - cp target/x86_64-unknown-linux-gnu/release/validator_worker $TRAVIS_TAG
38
38
deploy :
39
39
provider : releases
40
40
api_key : $GITHUB_API_TOKEN
41
- file : $TRAVIS_BUILD_DIR/validator_worker-v $TRAVIS_TAG
41
+ file : $TRAVIS_BUILD_DIR/$TRAVIS_TAG
42
42
skip_cleanup : true
43
43
draft : true
44
44
on :
45
45
tags : true
46
- all_branches : true
46
+ all_branches : true
You can’t perform that action at this time.
0 commit comments