Skip to content

Commit

Permalink
attempt to prepare a 1.1.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bluenote10 authored and danwos committed Jan 25, 2023
1 parent 36c0bb8 commit 74bcd45
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
workflow_dispatch:
inputs:
# Ask if docker deployment needed when manually triggered
deploy:
deploy:
description: 'Deploy Docker Image (y/n)?'
required: true
default: 'n'
push:
tags:
- '*.*.*'
- '*.*.*'
env:
NEEDS_VERSION: 1.1.1
NEEDS_VERSION: 1.2.0

jobs:
build:
Expand All @@ -25,8 +25,8 @@ jobs:
- base-image: "sphinxdoc/sphinx:latest"
image: "sphinxneeds-latexpdf"
- base-image: "sphinxdoc/sphinx-latexpdf:latest"
image: "sphinxneeds"
name: "Image: ${{ matrix.image }} | Baseimage: ${{ matrix.base-image }}"
image: "sphinxneeds"
name: "Image: ${{ matrix.image }} | Baseimage: ${{ matrix.base-image }}"
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
Expand All @@ -46,7 +46,7 @@ jobs:
latest=true
tags: |
type=pep440,pattern={{version}}
-
-
# Check if deployment is needed (if no manual trigger was done, defaults to 'y')
name: Check if deployment is needed
id: deploycheck
Expand All @@ -59,16 +59,16 @@ jobs:
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push html image to Doker Hub Docker Registry 🐳
id: docker_build
uses: docker/build-push-action@v2
with:
push: ${{ github.event_name != 'pull_request' && steps.deploycheck.outputs.value == 'y' }}
file: docker/Dockerfile
build-args: |
build-args: |
NEEDS_VERSION=${{ env.NEEDS_VERSION }}
BASE_IMAGE=${{ matrix.base-image }}
BASE_IMAGE=${{ matrix.base-image }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}}
labels: ${{ steps.meta.outputs.labels }}}
8 changes: 7 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ License

.. include:: ../LICENSE

1.2.0
1.3.0
-----
Released: under development

1.2.0
-----
Released: 24.01.2023

* Bugfix: Allowing newer versions of jsonschema.
(`#848 <https://github.com/useblocks/sphinx-needs/pull/848>`_)
* Improvement: Adds :ref:`list2need` directive, which allows to create simple needs from list.
(`#854 <https://github.com/useblocks/sphinx-needs/issues/854>`_)

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# The short X.Y version.
version = "1.1"
# The full version, including alpha/beta/rc tags.
release = "1.1.1"
release = "1.2.0"

on_rtd = os.environ.get("READTHEDOCS") == "True"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "sphinx-needs"

# !! Don't miss updates in needs.py, conf.py, changelog.rst, and .github/workflows/docker !!!
version = "1.1.1"
version = "1.2.0"

description = "Sphinx needs extension for managing needs/requirements and specifications"
authors = ["team useblocks <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion sphinx_needs/needs.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
from sphinx_needs.utils import INTERNALS, NEEDS_FUNCTIONS, node_match
from sphinx_needs.warnings import process_warnings

VERSION = "1.1.1"
VERSION = "1.2.0"
NEEDS_FUNCTIONS.clear()


Expand Down

0 comments on commit 74bcd45

Please sign in to comment.