Skip to content

Commit 0d32c16

Browse files
authored
Merge pull request #427 from ProjectQ-Framework/master
Merge master into develop branch
2 parents 9222a52 + af04313 commit 0d32c16

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed

.github/workflows/draft_release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ name: "Draft new release"
33
on:
44
workflow_dispatch:
55
inputs:
6-
version:
7-
description: 'Version to release'
6+
tag:
7+
description: 'Tag to prepare (format: vXX.YY.ZZ)'
88
required: true
9-
109
jobs:
1110
new-release:
1211
name: "Draft a new release"
@@ -23,12 +22,12 @@ jobs:
2322
git flow init --default --tag v
2423
2524
- name: Create release branch
26-
run: git flow release start ${{ github.event.inputs.version }}
25+
run: git flow release start ${{ github.event.inputs.tag }}
2726

2827
- name: Update changelog
2928
uses: thomaseizinger/[email protected]
3029
with:
31-
version: ${{ github.event.inputs.version }}
30+
version: ${{ github.event.inputs.tag }}
3231

3332
- name: Initialize mandatory git config
3433
run: |
@@ -39,21 +38,21 @@ jobs:
3938
id: make-commit
4039
run: |
4140
git add CHANGELOG.md
42-
git commit --message "Preparing release v${{ github.event.inputs.version }}"
41+
git commit --message "Preparing release v${{ github.event.inputs.tag }}"
4342
4443
echo "::set-output name=commit::$(git rev-parse HEAD)"
4544
4645
- name: Push new branch
47-
run: git flow release publish ${{ github.event.inputs.version }}
46+
run: git flow release publish ${{ github.event.inputs.tag }}
4847

4948
- name: Create pull request
5049
uses: thomaseizinger/[email protected]
5150
env:
5251
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5352
with:
54-
head: release/${{ github.event.inputs.version }}
53+
head: release/${{ github.event.inputs.tag }}
5554
base: master
56-
title: Release version ${{ github.event.inputs.version }}
55+
title: Release version ${{ github.event.inputs.tag }}
5756
reviewers: ${{ github.actor }}
5857
# Write a nice message to the user.
5958
# We are claiming things here based on the `publish-new-release.yml` workflow.

CHANGELOG.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.7.1] - 2022-01-10
11+
1012
### Added
1113

1214
- Added environment variable to avoid -march=native when building ProjectQ
1315
- Added environment variable to force build failure if extensions do not compile on CI
1416

1517
### Changed
18+
1619
### Deprecated
20+
1721
### Fixed
1822

1923
- Fix compiler flags cleanup function for use on CI
@@ -22,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2226
- Fixed issue with `gen_reqfile` command if `--include-extras` is not provided
2327

2428
### Removed
29+
2530
### Repository
2631

2732
- Add configuration for CIBuildWheel in `pyproject.toml`
@@ -63,11 +68,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6368

6469
- Added `isort` to the list of pre-commit hooks
6570
- Added some more flake8 plugins to the list used by `pre-commit`:
66-
+ flake8-breakpoint
67-
+ flake8-comprehensions
68-
+ flake8-docstrings
69-
+ flake8-eradicate
70-
+ flake8-mutable
71+
- flake8-breakpoint
72+
- flake8-comprehensions
73+
- flake8-docstrings
74+
- flake8-eradicate
75+
- flake8-mutable
7176

7277
## [0.6.1] - 2021-06-23
7378

@@ -163,7 +168,9 @@ The ProjectQ v0.5.x release branch is the last one that is guaranteed to work wi
163168

164169
Future releases might introduce changes that will require Python 3.5 (Python 3.4 and earlier have already been declared deprecated at the time of this writing)
165170

166-
[Unreleased]: https://github.com/ProjectQ-Framework/ProjectQ/compare/v0.7.0...HEAD
171+
[Unreleased]: https://github.com/ProjectQ-Framework/ProjectQ/compare/v0.7.1...HEAD
172+
173+
[0.7.1]: https://github.com/ProjectQ-Framework/ProjectQ/compare/v0.7.0...v0.7.1
167174

168175
[0.7.0]: https://github.com/ProjectQ-Framework/ProjectQ/compare/v0.6.1...v0.7.0
169176

0 commit comments

Comments
 (0)