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 }}" - 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"