Skip to content

update version to v0.3.1 #3

update version to v0.3.1

update version to v0.3.1 #3

Workflow file for this run

name: Release
on:
push:
branches:
- ignore
# - master
tags: [ 'v*' ]
workflow_dispatch:
permissions:
contents: read
jobs:
release-crates-io:
name: Release crates.io
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: cargo login
run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
- name: cargo publish
run: |
cd nacos_rust_client
cargo publish
cd ../nacos-tonic-discover
cargo publish