mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2024-12-04 15:20:18 +00:00
CI: fix publishing (#40)
This commit is contained in:
parent
ab6ed43f39
commit
7264f2aa4e
4
.github/workflows/publish_release.yml
vendored
4
.github/workflows/publish_release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user