From 050990a7f278b61ce520a929d97d87a222a29b98 Mon Sep 17 00:00:00 2001 From: Anush Date: Mon, 2 Oct 2023 13:46:13 +0530 Subject: [PATCH 1/2] ci: move git author creds separate job --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 387b46f..cc8f135 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,14 @@ jobs: - name: "📦 install dependencies" run: bun install + - name: Get Author Name and Email + run: | + AUTHOR_NAME=$(git log -1 --pretty=format:%an ${{ github.sha }}) + AUTHOR_EMAIL=$(git log -1 --pretty=format:%ae ${{ github.sha }}) + echo "AUTHOR_NAME=$AUTHOR_NAME" >> $GITHUB_ENV + echo "AUTHOR_EMAIL=$AUTHOR_EMAIL" >> $GITHUB_ENV + id: author_info + - name: "Semantic release🚀" id: release env: @@ -30,15 +38,7 @@ jobs: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }} GIT_COMMITTER_NAME: "github-actions[bot]" GIT_COMMITTER_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com" - GIT_AUTHOR_NAME: $(git log -1 --pretty=format:%an ${GITHUB_SHA}) - GIT_AUTHOR_EMAIL: $(git log -1 --pretty=format:%ae ${GITHUB_SHA}) + GIT_AUTHOR_NAME: ${{ steps.author_info.outputs.AUTHOR_NAME }} + GIT_AUTHOR_EMAIL: ${{ steps.author_info.outputs.AUTHOR_EMAIL }} run: | bun x semantic-release - - - name: "echo outputs" - run: | - echo "RELEASE_TAG: ${{ env.RELEASE_TAG }}" - echo "RELEASE_VERSION: ${{ env.RELEASE_VERSION }}" - echo "outputs.release-tag: ${{ steps.release.outputs.release-tag }}" - echo "outputs.release-version: ${{ steps.release.outputs.release-version }}" - From 4b9ef9e99ef27fdf6b3673276e52ed31916ffb8f Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 2 Oct 2023 08:17:22 +0000 Subject: [PATCH 2/2] chore(release): 1.1.2 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.1.2](https://github.com/Anush008/fastembed-rs/compare/v1.1.1...v1.1.2) (2023-10-02) ## [1.1.2](https://github.com/Anush008/fastembed-rs/compare/v1.1.1...v1.1.2) (2023-10-02) ### 🔁 Continuous Integration * move git author creds separate job ([050990a](https://github.com/Anush008/fastembed-rs/commit/050990a7f278b61ce520a929d97d87a222a29b98)) --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 44d5c75..97bad2b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fastembed" -version = "1.1.1" +version = "1.1.2" edition = "2021" description = "Rust implementation of https://github.com/qdrant/fastembed" license = "MIT"