Skip to content

Commit f0ecc89

Browse files
author
Joris Conijn
authored
Merge pull request #40 from Nr18/develop
chore: bump and tweak release procedure (#39)
2 parents 9ac5091 + 8eeea71 commit f0ecc89

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,10 @@ jobs:
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
with:
34-
tag_name: ${{ github.ref }}
34+
tag_name: v${{ steps.vars.outputs.version }}
3535
release_name: Release v${{ steps.vars.outputs.version }}
3636
draft: false
3737
prerelease: false
38-
- uses: release-drafter/release-drafter@v5
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4138
- name: Upload Release Asset
4239
id: upload-release-asset
4340
uses: actions/upload-release-asset@v1

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ information to effectively respond to your bug report or contribution.
1010

1111
We welcome you to use the GitHub issue tracker to report bugs, suggest features, or documentation improvements.
1212

13+
Lookup the generated release notes, they are listed as draft. Copy them to a temporary file for later use.
14+
1315
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
1416
reported the issue. Please try to include as much information as you can.
1517

16-
1718
## Releases
1819

1920
First you will need to update the `version` in the [`pyproject.toml`](./pyproject.toml) file.
2021
Next you need to merge these changes into the `develop` branch using a pull request.
2122

2223
You need to create a pull request from `develop` to `main` and merge it. This will trigger the GitHub Actions [`release`](.github/workflows/release.yml)
23-
workflow.
24+
workflow. Go to the releases section on GitHub and update the new release with the previously stored release notes.
2425

2526
All done!

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "report2junit"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "`report2junit` is a tool that converts various reports into the JUnit format."
55
authors = ["Joris Conijn <joris@conijnonline.nl>"]
66
license = "MIT"

0 commit comments

Comments
 (0)