Skip to content

Commit

Permalink
Reduce the release info to only Phoenix assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Jul 10, 2020
1 parent 940360c commit a0ccb3c
Showing 1 changed file with 11 additions and 25 deletions.
36 changes: 11 additions & 25 deletions docs/releasing.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: "Releasing Phoenix in oCIS"
title: "Releasing"
weight: 25
geekdocRepo: https://github.com/owncloud/phoenix
geekdocEditPath: edit/master/docs
geekdocFilePath: building.md
geekdocFilePath: releasing.md
---

{{< toc >}}
Expand All @@ -12,16 +12,14 @@ geekdocFilePath: building.md

The next generation Web Frontend is shipped as an ocis Extension. The `ocis-phoenix` extension is also embedded in the single binary and part of the `ocis server` command.

To update this package within all the deliveries, we need to update the package in the following chain from the bottom to the top.
This repository contains the assets and these must be released first before being bundled into `ocis-phoenix`.

### Package Hierarchy

```markdown
- [ ] [ocis](https://githug.com/owncloud/ocis)
- [ ] [ocis-phoenix](https://github.com/owncloud/ocis-phoenix)
- [ ] [ocis-pkg](https://github.com/owncloud/ocis-pkg)
- [ ] [phoenix](https://github.com/owncloud/phoenix)
```
- [ocis](https://githug.com/owncloud/ocis)
- [ocis-phoenix](https://github.com/owncloud/ocis-phoenix)
- [ocis-pkg](https://github.com/owncloud/ocis-pkg)
- [phoenix](https://github.com/owncloud/phoenix)

#### Releasing Phoenix Frontend

Expand All @@ -30,23 +28,11 @@ To update this package within all the deliveries, we need to update the package
3. Move all changelog items from the `changelog/unreleased/` folder to the `$major.$minor.$patchVersion_YYYY-MM-DD` folder.
4. Commit your changes.
5. After merging, wait for the CI to run on the merge commit.
6. Go to "Releases" in GH click "Draft a new Release".
6. Go to the [Releases section](https://github.com/owncloud/phoenix/releases) and click "Draft a new Release".
7. Use `v$major.$minor.$patch` as a tag (the `v` prefix is important) and publish it.
8. The tag and the Release artifacts will be created automatically.

#### Updating ocis-phoenix
#### Next steps

The next steps are usually to update the Phoenix assets in the [ocis-phoenix](https://github.com/owncloud/ocis-phoenix) repository.

1. Create a branch `release-$version`. in <https://github.com/owncloud/ocis-phoenix>
2. Create a Folder in `changelog` for the release version and date `mkdir $major.$minor.$patchVersion_YYYY-MM-DD`.
3. Move all changelog items from the `changelog/unreleased/` folder to the `$major.$minor.$patchVersion_YYYY-MM-DD` folder.
4. Update the go module `ocis-pkg` to the latest version <https://blog.golang.org/using-go-modules> .
5. Update the phoenix asset in the Makefile.
6. Run `go generate`.
7. Create Changelog item for the Update in the `$major.$minor.$patchVersion_YYYY-MM-DD` folder.
8. Commit your changes.
9. After merging, wait for the CI to run on the merge commit.
10. Go to "Releases" in GH click "Draft a new Release".
11. Use `v$major.$minor.$patch` as a tag (the `v` prefix is important) and publish it.
12. The tag and the Release artifacts will be created automatically.

#### Updating the embedded ocis root command

0 comments on commit a0ccb3c

Please sign in to comment.