diff --git a/docs/extensions/web/releasing.md b/docs/extensions/web/releasing.md index a7e468574..b1f6ea1a7 100644 --- a/docs/extensions/web/releasing.md +++ b/docs/extensions/web/releasing.md @@ -29,9 +29,9 @@ and take note of its release tag name. #### Updating ocis-web 1. Create a branch `update-web-$version` in the [ocis repository](https://github.com/owncloud/ocis) -2. Change into web package folder via `cd web` (the next 3 steps all happen inside there) -3. Inside `web/`, remove old assets by running `rm -r assets/` (skip if they don't exist) -4. Inside `web/`, update the `Makefile` so that the WEB_ASSETS_VERSION variable references the currently released version of https://github.com/owncloud/web +2. Change into web package folder via `cd web` +3. Inside `web/`, update the `Makefile` so that the WEB_ASSETS_VERSION variable references the currently released version of https://github.com/owncloud/web +4. Inside `web/`, replace the current assets with newly released ones by running `make pull-assets` 5. Inside `web/`, run `make generate`. The output should look something like this: `web: embed.go - YYY/MM/DD ... to write [./embed.go] from config file ...` 6. Move to the changelog (`cd ../changelog/`) and add a changelog file to the `unreleased/` folder (You can copy an old web release changelog item as a template) 7. Move to the repo root (`cd ..`)and update the WEB_COMMITID in the `/.drone.env` file to the commit id from the released version (unless the existing commit id is already newer)