Skip to content

Automatically push the new stable branch with "bin/rake release:single"

Also, disable lefthook since we don't need it when invoking the Rake tasks as they are used to automate things. The tests are run anyway in the MRs.

See latest discussion in Slack https://gitlab.slack.com/archives/CDWGE0DDY/p1658179474044039.

@sselhorn wrote:

I'm starting the docs release process. I did the first step, which was to run ./bin/rake "release:single[15.2]". This command was successful. Then it said INFO: To push the new branch, run: git push origin 15.2.. So I run that command, and I get these errors:

INFO: Running ESLint tests...
yarn run v1.22.15
$ eslint --max-warnings 0 --ext .js,.vue .

/Users/sselhorn/dev/gitlab/gitlab-docs/content/frontend/default/mermaid.js
  1:21  error  Unable to resolve path to module 'mermaid'  import/no-unresolved

/Users/sselhorn/dev/gitlab/gitlab-docs/content/frontend/search/components/search_page.vue
  3:8  error  Unable to resolve path to module 'instantsearch.css/themes/satellite-min.css'  import/no-unresolved

/Users/sselhorn/dev/gitlab/gitlab-docs/content/frontend/search/docsearch.js
  1:23  error  Unable to resolve path to module '@docsearch/js'   import/no-unresolved
  2:8   error  Unable to resolve path to module '@docsearch/css'  import/no-unresolved

/Users/sselhorn/dev/gitlab/gitlab-docs/content/frontend/search/instantsearch.js
  10:8  error  Unable to resolve path to module 'vue-instantsearch'  import/no-unresolved

/Users/sselhorn/dev/gitlab/gitlab-docs/content/frontend/shared/clipboardjs.js
  3:25  error  Unable to resolve path to module 'clipboard'  import/no-unresolved

/Users/sselhorn/dev/gitlab/gitlab-docs/rollup.config.js
   9:21  error  Unable to resolve path to module 'rollup-plugin-import-css'  import/no-unresolved
  10:21  error  Unable to resolve path to module '@rollup/plugin-url'        import/no-unresolved
  12:28  error  Unable to resolve path to module 'rollup-plugin-terser'      import/no-unresolved

/Users/sselhorn/dev/gitlab/gitlab-docs/spec/frontend/default/components/versions_menu_spec.js
  6:27  error  Unable to resolve path to module 'flush-promises'  import/no-unresolved

✖ 10 problems (10 errors, 0 warnings)

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [eslint-tests] Error 1

Merge request reports

Loading