From 4d64a6a706f7d8611e3cdfcf23f73b0b51ea1f18 Mon Sep 17 00:00:00 2001 From: Steven Kessler Date: Wed, 9 Oct 2024 12:32:31 -0400 Subject: [PATCH] feat(cargo publish): --- .github/workflows/release.yaml | 18 +++++++++++++++--- Cargo.toml | 8 +++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2b3ee3d..87e48ae 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -102,10 +102,11 @@ jobs: if: startsWith( github.ref, 'refs/tags/v' ) runs-on: ubuntu-22.04 steps: - - name: Checkout Git repo + - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - # Download all artifacts - uses: actions/download-artifact@v4 with: path: artifacts @@ -121,4 +122,15 @@ jobs: version: '~> v2' args: release --clean --skip=validate env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Release Please / Publish to Cargo + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + - name: Run release-plz + uses: MarcoIeni/release-plz-action@v0.5 + with: + command: release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index ac9a5ee..83fe3ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,13 @@ [package] name = "uv-migrator" -version = "0.1.0" +version = "2024.2.0" edition = "2021" +authors = ["stvnksslr@gmail.com"] +description = "Tool for converting various python package soltutions to use the uv solution by astral" +license = "MIT" +repository = "https://github.com/stvnksslr/uv-migrator" +readme = "README.md" +keywords = ["python", "uv"] [dependencies] env_logger = "0.11.5"