Comments (2)
Hi there,
feel you, had also some trouble setting up CI and CD. Maybe this repo helps you. I have a working solution, which is ok-ish for my needs right now... with some Problems to fix e.g. commit messages are not added in the changelog, but maybe it gives you a starting point.
Add this target to your libs project.json (it uses the angular preset, change it to your needs):
"version": { "executor": "@jscutlery/semver:version", "options": { "preset": "angular", "commitMessageFormat": "build(${projectName}): release version ${version} [skip ci]", "postTargets": ["common:deploy"] } }
and in your release pipeline run this command:
npx nx affected -t version --parallel=3
from semver.
Thanks man - will go through. Meanwhile I've came with my own approach so far. I guess it's pretty much different from what current plugin delivers and I'm not sure I follow the philosophy.
So that's why to understand how it should work I'd like to read some docs/article describing the methodology first of maintaining a monorepo and publishing packages
from semver.
Related Issues (20)
- Latest version(v5.1.1) not bumping the version of a project if the changes made to the dependency. HOT 4
- How to pass postTargets as cli args ? HOT 1
- Release version not correlated to previous Prerelease version HOT 5
- @jscutlery/semvver:github executor failing HOT 1
- `{projectName}` interpolation by Nx causes wrong dependencies versions in changelogs
- Possibility to write version info to some file
- Adding `releaseAs=preminor` && `preid=beta` doesn't work as expected HOT 1
- Changelogs are not correctly being generated with custom preset
- Atomic push not working as expected
- `runPostTargets` unexpectedly pass target options as overrideOptions
- release does not consider prerelease tags
- Add support for @nx/devkit v19.0.0 HOT 6
- `Release` does not consider `prerelease` tag
- `@jscutlery:version` executor failing with @nx v19.0.4 HOT 2
- How I can reset semver on existing repository?
- prerelease tags being set on the wrong commits HOT 2
- Error Finding Base Tag 'last-release' During GitHub Action Execution HOT 3
- GitHub CI output version HOT 1
- [Request] Add support for forwarding params to postTargets
- PostTarget attribute does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semver.