You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new workflow for the release: `release.yml` including the following
steps (in order):
- unprotect the branch
- generate the new version with `create-new-semantic-version` (based on the latest git tag)
- update the README.md and DESCRIPTION files with the new version
- commit the changes
- tag, then push the commit and tag
- update the DESCRIPTION file with the new development version
- commit and push it
- protect the branch again
Copy file name to clipboardExpand all lines: DESCRIPTION
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Package: bpmnVisualization
2
2
Type: Package
3
3
Title: Visualize Process Execution Data on BPMN (Business Process Model and Notation) Diagrams
4
-
Version: 0.2.1
4
+
Version: 0.2.1.9000
5
5
Authors@R: c(person("Celine", "Souchet", role = c("aut", "cre"), email = "process.analytics.dev+CRAN@gmail.com"),
6
6
person("Thomas", "Bouffard", role = "aut"))
7
7
Description: To visualize the execution data of the processes on BPMN diagrams, using overlays, style customization and interactions, with BPMN Visualization.
Copy file name to clipboardExpand all lines: MAINTAINERS.md
+42-30Lines changed: 42 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,6 @@ A PR can only be merged into master by a maintainer, if all of these conditions
16
16
17
17
Maintainers need to perform the following actions **in the order described here** to push out a release.
18
18
19
-
### Verify the version in files
20
-
21
-
**NOTE**: this is a very manual process today. For improvements, see [#131](https://github.com/process-analytics/bpmn-visualization-R/issues/131)
22
-
23
-
Check that the files are using the version to be released:
24
-
-[DESCRIPTION](./DESCRIPTION)
25
-
-[README](./README.md)
26
-
27
-
Create a new PR (it must have the `skip-changelog` label as we don't want it to appear in the release notes) and merge it,
28
-
if some files require changes. The PR/commit message should be `[RELEASE] Set version to x.y.z`.
29
-
30
19
### GitHub issues and milestones update
31
20
32
21
**Note:** we always put issues related to a version in a Milestone whose name matches the version.
@@ -38,37 +27,60 @@ if some files require changes. The PR/commit message should be `[RELEASE] Set ve
38
27
39
28
### Prepare the GitHub Release Notes
40
29
41
-
- Open [github releases](https://github.com/process-analytics/bpmn-visualization-R/releases)
30
+
- Open [GitHub releases](https://github.com/process-analytics/bpmn-visualization-R/releases)
42
31
- Create a new draft release and name it `Next` (the name is not relevant and will be replaced automatically later).
43
32
This ensures that development can continue without impacting the writing of the content of the in progress release. That way,
44
33
if a PR is merged, `release-drafter` will update the `Next` draft release keeping the in-progress release untouched.
45
34
- The draft release for the newly tagged version should already exist:
46
-
-[release-drafter](https://github.com/release-drafter/release-drafter) creates or updates draft release for the
47
-
next version each time a pull request is merged to the `master` branch.
48
-
- create a new release if it is missing or rename the existing one to match.
49
-
- Assign the new tag as release target and save the draft (this should have already been managed by `release-drafter`)
35
+
-[release-drafter](https://github.com/release-drafter/release-drafter) creates or updates draft release for the
36
+
next version each time a pull request is merged to the `master` branch.
37
+
- create a new release if it is missing or rename the existing one to match.
50
38
- Ensure that `This is a pre-release` is unchecked (except if we are releasing alpha, beta, rc, ...)
51
-
- In the release description (check previous releases as a source of inspiration)
52
-
- If the bpmn-visualization TypeScript library was updated, add a phrase about it (see [Release 0.2.1](https://github.com/process-analytics/bpmn-visualization-R/releases/tag/v0.2.1) for instance.): `The R package now uses [bpmn-visualization@0.26.2](https://github.com/process-analytics/bpmn-visualization-js/releases/tag/v0.26.2).`
53
-
- put screenshots/gif of the new features.
54
-
- At any time, you can save the draft.
55
39
56
-
### Release on GitHub (tag)
40
+
### Initiate the Release
41
+
42
+
- Open the [Release GitHub Actions](https://github.com/process-analytics/bpmn-visualization-R/actions/workflows/release.yml)
43
+
- Click on the 'Run workflow' dropdown located on the right side of the page
44
+
- Provide parameter value for New version type (default is patch, but you can choose one of the [major | minor | patch])
45
+
- Click on the button 'Run workflow'
46
+
- Make sure job execution was successful by checking the status
47
+
- The new git tag should have been created and available on GitHub
48
+
49
+
___
57
50
58
-
- Open the draft release note in [github releases](https://github.com/process-analytics/bpmn-visualization-R/releases)
59
-
- Verify the tag version as the same as the release note.
60
-
- Published the release **only when you are done** with the release content.
51
+
### Manual procedure
61
52
62
-
### Use a development version
53
+
⚠️⚠️⚠️ _**Only if the GitHub job that release this repository fails after manual re-run!**_ ⚠️⚠️⚠️
63
54
64
-
**NOTE**: this is a very manual process today. For improvements, see [#131](https://github.com/process-analytics/bpmn-visualization-R/issues/131)
55
+
#### Verify the version in files
65
56
66
-
Update the [DESCRIPTION](./DESCRIPTION) file to use a development version (for more explanations, see the [R documentation](https://r-pkgs.org/release.html#post-release):
67
-
- bump the current version. For instance, if the released version was `0.3.0`, bump it to `0.3.1`
68
-
- add a postfix to the version to state that it is a development version. For instance, `0.3.1.9000`
57
+
Check that the files are using the version to be released:
58
+
-[DESCRIPTION](./DESCRIPTION)
59
+
-[README](./README.md)
60
+
61
+
Create a new PR (it must have the `skip-changelog` label as we don't want it to appear in the release notes) and merge it,
62
+
if some files require changes. The PR/commit message should be `[RELEASE] Set version to x.y.z`.
63
+
64
+
#### Use a development version
65
+
66
+
Add the `.9000` suffix to the `Version` field in the [DESCRIPTION](./DESCRIPTION) file to indicate that this is a development version (for more explanations, see the [R documentation](https://r-pkgs.org/release.html#post-release)).
67
+
For instance, if the released version was `0.3.0`, the `Version` field in the `DESCRIPTION` file should be `0.3.O.9000`.
69
68
70
69
Create a new PR (it must have the `skip-changelog` label as we don't want it to appear in the release notes) and merge it.
71
-
The PR/commit message should be `[INFRA] Set the development version to x.y.z`.
70
+
The PR/commit message should be `[INFRA] Set the development version to x.y.z.9000`.
71
+
72
+
___
73
+
74
+
#### Publish the GitHub Release Notes
75
+
76
+
- Open the draft release note in [GitHub releases](https://github.com/process-analytics/bpmn-visualization-R/releases)
77
+
- In the release description (check previous releases as a source of inspiration)
78
+
- If the bpmn-visualization TypeScript library was updated, add a phrase about it (see [Release 0.2.1](https://github.com/process-analytics/bpmn-visualization-R/releases/tag/v0.2.1) for instance.): `The R package now uses [bpmn-visualization@0.26.2](https://github.com/process-analytics/bpmn-visualization-js/releases/tag/v0.26.2).`
79
+
- put screenshots/gif of the new features.
80
+
- At any time, you can save the draft.
81
+
-**Only when you are done**:
82
+
- Assign the tag of the new version as release target and save the draft (doing it as later as possible ensure that `release-drafter` doesn't interfer with the writing of the Release Notes)
0 commit comments