From 2e5af3a6744649d9a49509da587eecac8a706acd Mon Sep 17 00:00:00 2001 From: Fernando Ayats Date: Mon, 18 Nov 2024 11:40:23 +0100 Subject: [PATCH] fix tagging CI --- .github/workflows/build.yaml | 2 +- .github/workflows/tag.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e61a42b..e736b1e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,7 +25,7 @@ jobs: eval "$(nix print-dev-env)" cargo fix --allow-dirty - cargo clippy --fix --allow-dirt + cargo clippy --fix --allow-dirty cargo fmt git diff-index --quiet HEAD diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 6047add..98d1f9d 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -28,10 +28,9 @@ jobs: - name: Tag run: | set -x - set +e git show-ref --tags $nh_version --quiet if [[ $? -ne 0 ]]; then git tag $nh_version - git push --tags + git push --tags || : fi