Commit a86c8ce6 authored by erwan's avatar erwan
Browse files

Chore: got back to the first version; the problem was that the master branch was not protected

parent b4db4f10
Pipeline #71046 failed with stages
in 1 minute and 54 seconds
......@@ -36,32 +36,9 @@ release:
stage: release
before_script:
- apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
- npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/gitlab
- npm install -g semantic-release
script:
- semantic-release -p ['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/npm', '@semantic-release/gitlab']
- semantic-release
only:
- master
old_release:
before_script:
- yarn install --frozen-lockfile
- yarn add ${CI_REPOSITORY_URL}#${CI_COMMIT_SHA}
- yarn add lint:eslint:all
image: node:14
only:
- master
script:
- $(yarn bin)/semantic-delivery-gitlab --preset eslint --token ${GITLAB_AUTH_TOKEN}
stage: release
new_release:
before_script:
- yarn install --frozen-lockfile
- yarn add ${CI_REPOSITORY_URL}#${CI_COMMIT_SHA}
- yarn add lint:eslint:all
image: node:14
only:
- master
script:
- semantic-release
stage: release
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment