Content
View differences
Updated by Dominic Bräunlein 3 months ago
# **Prerequisites**
* [ ] All documentation changes are merged
* [ ] Translations are done
# Release preparation
### Patch Release
On the current release branch:
* [x] Update the patch version in:
* [x] `appinfo/info.xml`
* [x] `package.json`
* [x] Update `CHANGELOG.md` with the changes and the version to be released.
<br>
# Publish Release
> The tag MUST follow the following format:
>
> * For release: `vX.Y.Z` (e.g. `v2.1.1`)
>
> * For test release: `vX.Y.Z-yyyymmdd-nightly` (e.g. `v2.1.1-20220928-nightly`)
>
* [x] Tag a commit from the release branch.
```bash
git tag vX.Y.Z -m "vX.Y.Z"
# E.g.:
# git tag v2.1.1-20220928-nightly -m "v2.1.1-20220928-nightly"
```
> _**NOTE:**_ Every tag should be created with a unique commit, or the publish will fail.
<br>
* [x] Push the tag to the `auto-release` branch.
```bash
git push origin release/<major>.<minor>:auto-release vX.Y.Z
# E.g.:
# git push origin release/2.1:auto-release v2.1.1-20220928-nightly
```
* [x] Approve the deployment in GitHub actions.
* [x] Check the release on Nextcloud [app store](https://apps.nextcloud.com/apps/integration_openproject/releases).
<br>
# After Release
* [x] Add the release notes to the newly created [GitHub release](https://github.com/nextcloud/integration_openproject/releases).
<br>
* [ ] Close version (<mention class="mention" data-id="83297" data-type="user" data-text="@Dominic Bräunlein">@Dominic Bräunlein</mention> , <mention class="mention" data-id="99509" data-type="user" data-text="@Yauheni Suhakou">@Yauheni Suhakou</mention> )
* [ ] Close all work packages (<mention class="mention" data-id="83297" data-type="user" data-text="@Dominic Bräunlein">@Dominic Bräunlein</mention>, <mention class="mention" data-id="99509" data-type="user" data-text="@Yauheni Suhakou">@Yauheni Suhakou</mention> )
* [x] [ ] Create new version [here](https://community.openproject.org/projects/nextcloud-integration/settings/versions). (<mention class="mention" data-id="83297" data-type="user" data-text="@Dominic Bräunlein">@Dominic Bräunlein</mention>, <mention class="mention" data-id="99509" data-type="user" data-text="@Yauheni Suhakou">@Yauheni Suhakou</mention> )
* [x] [ ] Create new query [here](https://community.openproject.org/projects/nextcloud-integration/work_packages). (<mention class="mention" data-id="83297" data-type="user" data-text="@Dominic Bräunlein">@Dominic Bräunlein</mention>, <mention class="mention" data-id="99509" data-type="user" data-text="@Yauheni Suhakou">@Yauheni Suhakou</mention> )
* [ ] All documentation changes are merged
* [ ] Translations are done
# Release preparation
### Patch Release
On the current release branch:
* [x] Update the patch version in:
* [x] `appinfo/info.xml`
* [x] `package.json`
* [x] Update `CHANGELOG.md` with the changes and the version to be released.
<br>
# Publish Release
> The tag MUST follow the following format:
>
> * For release: `vX.Y.Z` (e.g. `v2.1.1`)
>
> * For test release: `vX.Y.Z-yyyymmdd-nightly` (e.g. `v2.1.1-20220928-nightly`)
>
* [x] Tag a commit from the release branch.
```bash
git tag vX.Y.Z -m "vX.Y.Z"
# E.g.:
# git tag v2.1.1-20220928-nightly -m "v2.1.1-20220928-nightly"
```
> _**NOTE:**_ Every tag should be created with a unique commit, or the publish will fail.
<br>
* [x] Push the tag to the `auto-release` branch.
```bash
git push origin release/<major>.<minor>:auto-release vX.Y.Z
# E.g.:
# git push origin release/2.1:auto-release v2.1.1-20220928-nightly
```
* [x] Approve the deployment in GitHub actions.
* [x] Check the release on Nextcloud [app store](https://apps.nextcloud.com/apps/integration_openproject/releases).
<br>
# After Release
* [x] Add the release notes to the newly created [GitHub release](https://github.com/nextcloud/integration_openproject/releases).
<br>
* [ ] Close version (<mention class="mention" data-id="83297" data-type="user" data-text="@Dominic Bräunlein">@Dominic Bräunlein</mention> , <mention class="mention" data-id="99509" data-type="user" data-text="@Yauheni Suhakou">@Yauheni Suhakou</mention> )
* [ ] Close all work packages (<mention class="mention" data-id="83297" data-type="user" data-text="@Dominic Bräunlein">@Dominic Bräunlein</mention>, <mention class="mention" data-id="99509" data-type="user" data-text="@Yauheni Suhakou">@Yauheni Suhakou</mention> )
* [x]
* [x]