Commit 10fd6c8c authored by erwan's avatar erwan
Browse files

ci: use a semantic-release that works with gitlab 14.0

parent fcab1f26
Pipeline #71097 passed with stages
in 5 minutes and 25 seconds
......@@ -35,12 +35,14 @@ test_opam_test:
# the release number). The idea is to rerun this job manually once the
# opam package has beeb updates when it is the case.
# automating version numbering
release:
image: node:12-buster-slim
stage: release
before_script:
- yarn install --frozen-lockfile
image: node:12
- apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
- npm install -g semantic-release @semantic-release/gitlab
script:
- semantic-release
only:
- master
script:
- $(yarn bin)/semantic-delivery-gitlab --preset eslint --token ${GITLAB_AUTH_TOKEN}
stage: release
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/gitlab", {
"gitlabUrl": "https://gricad-gitlab.univ-grenoble-alpes.fr",
"assets": [
{"path": "dist/asset.min.css", "label": "CSS distribution"},
{"path": "dist/asset.min.js", "label": "JS distribution"}
]
}],
]
}
{
"name": "lutin",
"version": "2.66.0",
"description": "Lutin is a language to model stochastic reactive systems.",
"main": "index.js",
"scripts": {
......@@ -17,8 +16,8 @@
"test"
],
"author": "Erwan Jahier",
"license": "CeCILL",
"license": "CECILL-2.1",
"devDependencies": {
"@hutson/semantic-delivery-gitlab": "^9.1.0"
"semantic-release": "^17.4.4"
}
}
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