Skip to content

Commit

Permalink
tag wheel version build, not prerelease
Browse files Browse the repository at this point in the history
- fix(tox.ini): lint failing. In testenv build and install package
- chore(ci): release and kit were building develop wheels. Specify tag
  • Loading branch information
msftcangoblowm committed Feb 27, 2024
1 parent b9b4061 commit 75e1dbb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@ jobs:
steps:
- name: Checkout the repo
uses: actions/checkout@v4

- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Install py39
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: pip
cache-dependency-path: 'requirements/*.pip'

- name: build
shell: bash
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
run: |
python -m pip install --upgrade -r requirements/pip-tools.pip
python -m build .
python igor.py build_next "$RELEASE_VERSION"
- name: Release PyPI
shell: bash
env:
Expand Down
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ Changelog

.. scriv-start-here
.. _changes_1-2-2:

Version 1.2.2 — 2024-02-27
--------------------------

- fix(tox.ini): lint failing. In testenv build and install package
- chore(ci): release and kit were building develop wheels. Specify tag

.. _changes_1-2-1:

Version 1.2.1 — 2024-02-27
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
# @@@ editable
copyright = "2023–2024, Dave Faulkmore"
# The short X.Y.Z version.
version = "1.2.1"
version = "1.2.2"
# The full version, including alpha/beta/rc tags.
release = "1.2.1"
release = "1.2.2"
# The date of release, in "monthname day, year" format.
release_date = "February 27, 2024"
# @@@ end
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ setenv =
# Disable CPython's color output
PYTHON_COLORS=0

commands =
python igor.py build_next ""
python -m pip install --disable-pip-version-check -q -e .

[testenv:docs]
description = sphinx docs
# One of the PYVERSIONS, that's currently supported by Sphinx. Make sure it
Expand Down

0 comments on commit 75e1dbb

Please sign in to comment.