Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug #1112

Closed
wants to merge 3 commits into from
Closed

Debug #1112

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/build-hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ jobs:
with:
fetch-depth: 0

- name: Install Hatch
run: pip install -e .

# Windows installers don't accept non-integer versions so we ubiquitously
# perform the following transformation: X.Y.Z.devN -> X.Y.Z.N
- name: Set project version
id: version
run: |-
old_version="$(hatch version)"
echo "Old version: $old_version"
version="${old_version/dev/}"
echo "New version: $version"

- name: Install build frontend
run: python -m pip install --upgrade build

Expand Down Expand Up @@ -110,7 +123,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Hatch
run: pip install -U hatch
run: pip install -e .

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -152,6 +165,7 @@ jobs:
- name: Build binary
run: hatch build --target app


# Windows installers don't accept non-integer versions so we ubiquitously
# perform the following transformation: X.Y.Z.devN -> X.Y.Z.N
- name: Set project version
Expand Down
Loading