diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93c57c3..988e815 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ build-x64-bin: tags: - linux rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG + - if: $CI_COMMIT_TAG script: - cargo build --release - cd target/release @@ -74,7 +74,7 @@ build-arm-bin: stage: build image: 'rust:latest' rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG + - if: $CI_COMMIT_TAG script: - rustup target add armv7-unknown-linux-gnueabihf - apt update @@ -96,7 +96,7 @@ build-win-bin: tags: - windows rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_TAG script: - cargo build --release artifacts: