ci(release): configure semantic-release to automate castopod bundle versionned release
- semantic-release plugins will update castopod version, CHANGELOG.md file, and push a tagged release on https://code.podlibre.org - prepareRelease.sh script updates composer.json version and generates the castopod bundle for the released version closes #47
Showing
- .gitlab-ci.yml 18 additions, 2 deletions.gitlab-ci.yml
- .releaserc.json 40 additions, 0 deletions.releaserc.json
- composer.json 1 addition, 0 deletionscomposer.json
- package-lock.json 5715 additions, 341 deletionspackage-lock.json
- package.json 7 additions, 1 deletionpackage.json
- prepareRelease.sh 16 additions, 0 deletionsprepareRelease.sh
.releaserc.json
0 → 100644
{ | ||
"name": "podlibre/castopod", | ||
"version": "0.0.0-dev", | ||
"type": "project", | ||
"description": "Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience.", | ||
"homepage": "https://castopod.org", | ||
... | ... |
This diff is collapsed.
... | ... | @@ -21,7 +21,8 @@ |
"lint:css": "stylelint \"app/Views/_assets/**/*.css\"", | ||
"prettier:fix": "prettier --write --ignore-path .gitignore .", | ||
"typecheck": "tsc", | ||
"commit": "git-cz" | ||
"commit": "git-cz", | ||
"release": "semantic-release" | ||
}, | ||
"dependencies": { | ||
"@amcharts/amcharts4": "^4.10.7", | ||
... | ... | @@ -46,6 +47,10 @@ |
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-multi-entry": "^4.0.0", | ||
"@rollup/plugin-node-resolve": "^9.0.0", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/exec": "^5.0.0", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/gitlab": "^6.0.5", | ||
"@tailwindcss/custom-forms": "^0.2.1", | ||
"@tailwindcss/typography": "^0.2.0", | ||
"@types/prosemirror-markdown": "^1.0.3", | ||
... | ... | @@ -70,6 +75,7 @@ |
"rollup-plugin-node-polyfills": "^0.2.1", | ||
"rollup-plugin-postcss": "^3.1.8", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"semantic-release": "^17.2.1", | ||
"stylelint": "^13.7.2", | ||
"stylelint-config-standard": "^20.0.0", | ||
"svgo": "^1.3.2", | ||
... | ... |
prepareRelease.sh
0 → 100644
Please register or sign in to comment