Skip to content

Commit

Permalink
release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AllyW committed Sep 26, 2024
1 parent aa271ac commit b8f0f0a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ jobs:
- name: Install prerequisites
run: |
pip install --upgrade pip setuptools wheel virtualenv
npm install -g pnpm
pnpm install
- name: Set build variables
shell: bash
Expand All @@ -100,16 +98,21 @@ jobs:
with:
path: |
.venv
key: ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('requirements.txt') }}
node_modules
src/web/node_modules
src/typespec-aaz/node_modules
key: ${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ hashFiles('requirements.txt') }}-${{ env.NODE_VERSION }}-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}
${{ env.CACHE_PREFIX }}-${{ env.WEEK_NUMBER }}-${{ runner.os }}-${{ env.RUNNER_ARCH }}-${{ env.PYTHON_VERSION }}-${{ env.NODE_VERSION }}
- name: Setup virtual environment (no cache hit)
if: steps.virtualenv-cache.outputs.cache-hit != 'true'
run: |
test -d .venv || virtualenv -p $(which python) --copies --reset-app-data .venv
. .venv/bin/activate
pip install -e .[dev]
npm install -g pnpm
pnpm install
- name: Install editable (cache hit)
if: steps.virtualenv-cache.outputs.cache-hit == 'true'
Expand Down
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Release History
===============
2.11.0
3.0.0
++++++
* Add support to TypeSpec specification

Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ github:
pypi: https://pypi.org/project/aaz-dev/

# TODO: get version number from github
version: v2.11.0
version: v3.0.0

# Build settings
theme: minima
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

_MAJOR, _MINOR, _PATCH, _SUFFIX = ("2", "11", "0", "")
_MAJOR, _MINOR, _PATCH, _SUFFIX = ("3", "0", "0", "")

# _PATCH: On main and in a nightly release the patch should be one ahead of the last released build.
# _SUFFIX: This is mainly for nightly builds which have the suffix ".dev$DATE". See
Expand Down

0 comments on commit b8f0f0a

Please sign in to comment.