Skip to content

Commit

Permalink
feat(cargo publish):
Browse files Browse the repository at this point in the history
  • Loading branch information
stvnksslr committed Oct 9, 2024
1 parent a61f1f8 commit 4d64a6a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -121,4 +122,15 @@ jobs:
version: '~> v2'
args: release --clean --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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/[email protected]
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
[package]
name = "uv-migrator"
version = "0.1.0"
version = "2024.2.0"
edition = "2021"
authors = ["[email protected]"]
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"
Expand Down

0 comments on commit 4d64a6a

Please sign in to comment.