Commit f95a96df authored by Administrator's avatar Administrator
Browse files

fix: testing patch releases

parent 9a5b56dc
Pipeline #3 failed with stage
in 9 seconds
out/
*.bak
\ No newline at end of file
*.bak
node_modules/
\ No newline at end of file
default:
image: node:latest
before_script:
- npm ci --cache .npm --prefer-offline
- |
{
echo "@${CI_PROJECT_ROOT_NAMESPACE}:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/"
echo "${CI_API_V4_URL#https?}/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=\Cxqas9a9d5h7M3YWJzRV"
} | tee --append .npmrc
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- .npm/
workflow:
rules:
- if: $CI_COMMIT_BRANCH
variables:
NPM_TOKEN: Cxqas9a9d5h7M3YWJzRV
stages:
- release
publish:
stage: release
script:
- npm run semantic-release
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
{
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/gitlab",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": ["package.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
\ No newline at end of file
This diff is collapsed.
{
"name": "@bcua-rts-group/bitctrl-ua-model",
"version": "1.0.0",
"description": "",
"main": "js/interface.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"semantic-release": "semantic-release"
},
"publishConfig": {
"access": "public"
},
"files": [
"bcua.nodeset.xml",
"js/*"
],
"repository": {
"type": "git",
"url": "https://gitlab.bcuarts.bcs.bitctrl.de/bcua-rts-group/bitctrl-ua-model.git"
},
"author": "Aleksej Tokarev",
"license": "ISC",
"devDependencies": {
"@semantic-release/git": "^9.0.0",
"@semantic-release/gitlab": "^6.0.9",
"@semantic-release/npm": "^7.0.10",
"semantic-release": "^17.3.7"
}
}
Supports Markdown
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