Skip to content

Commit 66922d9

Browse files
committedApr 12, 2021
Add releasing info to README
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 parent 7ae200f commit 66922d9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎README.md

+13
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,16 @@ showError('This is an error shown without a timeout', { timeout: -1 })
3636
```
3737

3838
A full list of available options can be found in the [documentation](https://nextcloud.github.io/nextcloud-dialogs/).
39+
40+
## Releasing a new version
41+
42+
- Checkout latest master (pull);
43+
- Edit CHANGELOG.md and add new entries there for the new version, then create a commit;
44+
- Run `npm version patch` (`npm version minor` if minor). This will return a new version name, make sure it matches what was added in the CHANGELOG.md;
45+
- Push the tag and the master branch `git push origin master [printed-version-name]`;
46+
- Make the tag a release on github and add the changelog (https://github.com/nextcloud/nextcloud-dialogs/releases);
47+
- Click edit on a previous release and copy the body of the changelog;
48+
- Go back, click on your release and paste the copied text;
49+
- Edit all the version numbers;
50+
- Click on preview and click on view full changelog, this will show you all the prs that have been; added since the previous version;
51+
- Copy them in the changelog with the same format as previous ones;

0 commit comments

Comments
 (0)
Please sign in to comment.