Skip to content

Commit

Permalink
remove set_version, prepare for v1 release (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin authored Nov 24, 2024
1 parent e14de63 commit cd820f3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 50 deletions.
42 changes: 0 additions & 42 deletions .github/set_version.py

This file was deleted.

10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,11 @@ jobs:
python-version: '3.11'
architecture: ${{ matrix.python-architecture || 'x64' }}

- name: set package version
run: python .github/set_version.py
if: "startsWith(github.ref, 'refs/tags/')"

- name: Sync Cargo.lock
run: cargo update -p watchfiles_rust_notify
- name: check GITHUB_REF matches package version
uses: samuelcolvin/[email protected]
if: "startsWith(github.ref, 'refs/tags/')"
with:
version_file_path: Cargo.toml

- name: build sdist
if: ${{ matrix.os == 'ubuntu' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }}
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 = "watchfiles_rust_notify"
version = "0.0.0"
version = "1.0.0"
edition = "2021"
license = "MIT"
homepage = "https://github.com/samuelcolvin/watchfiles"
Expand Down

0 comments on commit cd820f3

Please sign in to comment.