From 1a8d896aecff19e51c61a251a71cb6a5712fe8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9odore=20Pr=C3=A9vot?= Date: Fri, 17 Jan 2025 18:02:28 +0100 Subject: [PATCH] chore(ci): remove tagging from release ci (#443) --- .github/workflows/release.yml | 39 ----------------------------------- 1 file changed, 39 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index baa84928..aca648c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,45 +3,6 @@ on: workflow_dispatch: jobs: - git-tag: - runs-on: ubuntu-latest - steps: - - uses: dtolnay/rust-toolchain@stable - with: - components: rustfmt, clippy - - - name: Checkout - uses: actions/checkout@v4 - - - name: Get releasing version - working-directory: . - run: | - NEXT_VERSION=$(sed -nE 's/^\s*version = "(.*?)"/\1/p' Cargo.toml) >> $GITHUB_ENV - echo NEXT_VERSION=$NEXT_VERSION >> $GITHUB_ENV - echo $NEXT_VERSION - - - name: Check published version - run: | - PREV_VERSION=$(cargo search socketioxide --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -) - echo PREV_VERSION=$PREV_VERSION >> $GITHUB_ENV - echo $PREV_VERSION - - - name: Cancel run - if: env.NEXT_VERSION == env.PREV_VERSION - uses: andymckay/cancel-action@0.3 - - - name: Auto tag latest version - uses: bullrich/commit-autotag@main - if: env.NEXT_VERSION != env.PREV_VERSION - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - with: - strategy: regex - root: Cargo.toml - regex_pattern: "version\\s*=\\s*\"([0-9\\.]+)\"" - tag_prefix: "v" - version: "${{ env.NEXT_VERSION }}" - publish: runs-on: ubuntu-latest needs: