fleetcom 0.3.0

A fleet-view supervisor for arbitrary shell commands.
name: Release

on:
  release:
    types: [released]

env:
  CARGO_TERM_COLOR: always

jobs:
  Release:
    name: fleetcom Release
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - run: rustup update stable && rustup default stable
      - run: cargo test --verbose
      - run: |
          export VERSION=${{ github.event.release.tag_name }}
          sed -i "s/0.0.0/$VERSION/g" Cargo.toml
          cargo publish --allow-dirty
        env:
          CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}