From 7264f2aa4e92add8e77f2806a74c8aa5e08add70 Mon Sep 17 00:00:00 2001 From: folex <0xdxdy@gmail.com> Date: Wed, 30 Jun 2021 18:28:32 +0300 Subject: [PATCH] CI: fix publishing (#40) --- .github/workflows/publish_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 42797c3..d2f2e8c 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -52,14 +52,14 @@ jobs: run: | set -x PKG_NAME=marine-rs-sdk - VERSION=$(cargo ws list -l | grep "$PKG_NAME"$ | head -n1 | awk '{ print $2 }') + VERSION=$(cargo ws list -l | grep "$PKG_NAME\s" | head -n1 | awk '{ print $2 }') echo "VERSION=$VERSION" | tee -a $GITHUB_ENV echo "PKG_NAME=$PKG_NAME" | tee -a $GITHUB_ENV - name: Publish to crates.io run: cargo ws publish --no-git-commit --from-git --skip-published --yes - ### Create a pre-release + ### Create a release - name: Create Release id: create_release uses: actions/create-release@v1