2020-11-28 08:59:57 +00:00
|
|
|
## Publish release on Gitlab
|
|
|
|
|
|
|
|
Before releasing a new version to Gitlab, be sure to note all changes in the
|
|
|
|
[CHANGELOG.md](CHANGELOG.md)-file.
|
|
|
|
Commit, tag and push the changes:
|
2020-11-27 10:05:57 +00:00
|
|
|
```
|
|
|
|
git commit -am "test release v1.0.0.4"
|
2020-11-27 15:09:24 +00:00
|
|
|
git tag -a 1.0.0.4 -m ""
|
2020-11-27 10:05:57 +00:00
|
|
|
git push --atomic origin master 1.0.0.4
|
|
|
|
```
|
2020-11-28 08:59:57 +00:00
|
|
|
This will trigger the Gitlab-CI pipeline and publishes a release to the Gitlab
|
|
|
|
release page, including source, a prebuild tarball and the latest changelog.
|
2020-11-27 10:05:57 +00:00
|
|
|
|
2020-11-28 08:59:57 +00:00
|
|
|
## Nextcloud app store release
|
2020-11-25 16:58:51 +00:00
|
|
|
|
2020-11-29 10:07:27 +00:00
|
|
|
First login to the app store using an API token which can be generated
|
|
|
|
[here](https://apps.nextcloud.com/account/token). Run the following ``make``
|
|
|
|
command to publish a nightly release in the app store. It will fetch and use the
|
|
|
|
latest release from the Gitlab project.
|
2020-11-25 16:58:51 +00:00
|
|
|
```
|
2020-11-29 10:07:27 +00:00
|
|
|
krankerl login --appstore <TOKEN>
|
|
|
|
make publish-appstore-nightly
|
|
|
|
```
|
|
|
|
Or if you want to publish the latest release as a stable release, do:
|
|
|
|
```
|
|
|
|
make publish-appstore
|
2020-11-25 16:58:51 +00:00
|
|
|
```
|
2020-12-05 09:32:35 +00:00
|
|
|
|