Skip to content

Commit 8370fae

Browse files
github-actions[bot]web-flowTakishima
committed
Release version 1.4.1 (#38)
* Preparing release v1.4.1 * Update CHANGELOG.md Co-authored-by: GitHub actions <noreply@github.com> Co-authored-by: Nguyen Damien <ngn.damien@gmail.com>
1 parent 6b4c21b commit 8370fae

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/publish_release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
4747
4848
- name: Set tag for setuptools-scm
49+
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')
4950
run: git tag v${RELEASE_VERSION} main
5051

5152
- name: Build wheel
@@ -58,6 +59,11 @@ jobs:
5859
python3 -m pip install twine --prefer-binary
5960
python3 -m twine check dist/*
6061
62+
- name: Delete local tag used by setuptools-scm
63+
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')
64+
run: git -d tag v${RELEASE_VERSION}
65+
66+
6167
# Code below inspired from this action:
6268
# - uses: taiki-e/create-gh-release-action@v1
6369
# with:
@@ -69,7 +75,7 @@ jobs:
6975
- name: Create release
7076
env:
7177
target: x86_64-unknown-linux-musl
72-
parse_changelog_tag: v0.3.0
78+
parse_changelog_tag: v0.4.7
7379
changelog: CHANGELOG.md
7480
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7581
run: |

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [1.4.1] - 2022-05-04
11+
1012
### Fixed
1113

1214
- Fixed uses of of `pylint.testutils.MessageTest` instead of `pylint.testutils.Message` for Pylint >= 2.12
@@ -24,6 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2426
- Update `thomaseizinger/create-pull-request` GitHub action to v1.2.2
2527
- Update `thomaseizinger/keep-a-changelog-new-release` GitHub action to v1.3.0
2628
- Update GitHub's CodeQL action to v2
29+
- Update parse-changelog version to v0.4.7
30+
- Fixed issue with release publishing GitHub workflow
2731

2832
## [1.4.0] - 2021-07-29
2933

@@ -109,7 +113,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
109113

110114
Initial release
111115

112-
[Unreleased]: https://github.com/Takishima/pylint-secure-coding-standard/compare/v1.4.0...HEAD
116+
[Unreleased]: https://github.com/Takishima/pylint-secure-coding-standard/compare/v1.4.1...HEAD
117+
118+
[1.4.1]: https://github.com/Takishima/pylint-secure-coding-standard/compare/v1.4.0...v1.4.1
113119

114120
[1.4.0]: https://github.com/Takishima/pylint-secure-coding-standard/compare/v1.3.1...v1.4.0
115121

0 commit comments

Comments
 (0)