Skip to content

Commit

Permalink
release: v0.2.2rc0
Browse files Browse the repository at this point in the history
  • Loading branch information
emattiza committed Jun 12, 2024
1 parent 27c2ec4 commit fe152f3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,21 @@ jobs:
name: wheels
path: dist

sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

release:
name: Release
runs-on: ubuntu-latest
Expand All @@ -186,6 +201,7 @@ jobs:
- linux
- linux-cross
- pypy
- sdist
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rs_chardet"
version = "0.2.1"
version = "0.2.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
overlays = [inputs.rust-overlay.overlays.default];
};
project_name = "rs_chardet";
project_version = "0.2.1";
project_version = "0.2.2";
python_version = pkgs.python310;
buildPythonPackage = pkgs.python310Packages.buildPythonPackage;
in rec {
Expand Down
2 changes: 1 addition & 1 deletion nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildPythonPackage rec {
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-g4KGycMxV3+It/MkmG+jPK95NvpW1sf2UtzeGHTFvBY=";
hash = "sha256-RodHVLdtEim/LuqP2pc4DWLQmkXXYhlHNU3G927YG4Q=";
};

nativeBuildInputs = with rustPlatform; [cargoSetupHook maturinBuildHook];
Expand Down

0 comments on commit fe152f3

Please sign in to comment.