From 75e1dbbcbfb1787f776f5d06866897fb76c8fc3d Mon Sep 17 00:00:00 2001 From: msftcangoblowme Date: Tue, 27 Feb 2024 05:58:45 +0000 Subject: [PATCH] tag wheel version build, not prerelease - fix(tox.ini): lint failing. In testenv build and install package - chore(ci): release and kit were building develop wheels. Specify tag --- .github/workflows/release.yml | 9 ++++++--- CHANGES.rst | 8 ++++++++ docs/conf.py | 4 ++-- tox.ini | 4 ++++ 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7fce6d..4c94ecb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/CHANGES.rst b/CHANGES.rst index cc4999d..b025b74 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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 diff --git a/docs/conf.py b/docs/conf.py index e0dc0f9..f969b45 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/tox.ini b/tox.ini index 5e4dac0..338b04c 100644 --- a/tox.ini +++ b/tox.ini @@ -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