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:
3131 before_cache :
3232 - rm -rf /home/travis/.cargo/registry
3333 - stage : deploy
34- if : tag IS present
34+ if : ( tag IS present) AND (tag =~ ^validator-v)
3535 before_deploy :
3636 - 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
3838 deploy :
3939 provider : releases
4040 api_key : $GITHUB_API_TOKEN
41- file : $TRAVIS_BUILD_DIR/validator_worker-v $TRAVIS_TAG
41+ file : $TRAVIS_BUILD_DIR/$TRAVIS_TAG
4242 skip_cleanup : true
4343 draft : true
4444 on :
4545 tags : true
46- all_branches : true
46+ all_branches : true
You can’t perform that action at this time.
0 commit comments