Skip to content

version bump prep

version bump prep #10

Workflow file for this run

name: Publish
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
Publish:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install toml-cli
run: cargo install toml-cli
- name: Check Version
run: test "v$(toml get -r Cargo.toml package.version)" = "${{ github.ref_name }}"
- name: Publish
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}