diff --git a/docs/extensions/accounts/releasing.md b/docs/extensions/accounts/releasing.md new file mode 100644 index 000000000..a64c7e1f7 --- /dev/null +++ b/docs/extensions/accounts/releasing.md @@ -0,0 +1,27 @@ +--- +title: "Releasing" +weight: 70 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/accounts +geekdocFilePath: releasing.md +--- + +{{< toc >}} + +## Releasing + +After adding changes to the Accounts package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. + +To achieve this, you have run a Go command and add the results to your PR. + +### Package Hierarchy + +- [ocis](https://githug.com/owncloud/ocis) + - [ocis-accounts](https://github.com/owncloud/ocis/tree/master/accounts) + +#### Updating ocis-accounts + +1. Make sure you are inside the [ocis repository](https://github.com/owncloud/ocis) and on your feature branch +2. Change into accounts' asset package folder via `cd accounts/pkg/assets` +3. Inside `accounts/pkg/assets`, run `go generate`. The output should look something like this: `accounts: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...` +4. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls) diff --git a/docs/extensions/settings/releasing.md b/docs/extensions/settings/releasing.md new file mode 100644 index 000000000..811724a6a --- /dev/null +++ b/docs/extensions/settings/releasing.md @@ -0,0 +1,27 @@ +--- +title: "Releasing" +weight: 70 +geekdocRepo: https://github.com/owncloud/ocis +geekdocEditPath: edit/master/docs/extensions/settings +geekdocFilePath: releasing.md +--- + +{{< toc >}} + +## Releasing + +After adding changes to the Settings package within oCIS and testing them locally, you want to update the compiled assets to the oCIS binary. + +To achieve this, you have run a Go command and add the results to your PR. + +### Package Hierarchy + +- [ocis](https://githug.com/owncloud/ocis) + - [ocis-settings](https://github.com/owncloud/ocis/tree/master/settings) + +#### Updating ocis-settings + +1. Make sure you are inside the [ocis repository](https://github.com/owncloud/ocis) and on your feature branch +2. Change into settings' asset package folder via `cd settings/pkg/assets` +3. Inside `settings/pkg/assets`, run `go generate`. The output should look something like this: `settings: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...` +4. Commit your changes, push them and [create a PR](https://github.com/owncloud/ocis/pulls) diff --git a/settings/package.json b/settings/package.json index 2eb9640fa..0acd5ac75 100644 --- a/settings/package.json +++ b/settings/package.json @@ -8,7 +8,7 @@ "author": "ownCloud GmbH ", "repository": "https://github.com/owncloud/ocis-settings.git", "bugs": { - "url": "https://github.com/owncloud/ocis/settings/issues", + "url": "https://github.com/owncloud/ocis/issues", "email": "support@owncloud.com" }, "scripts": {