Comments (2)
Hello! Originally the design for this was for manual usage, so if you wanted to build a release but nothing would warrant a release, it should stop and tell you. I think there are valid scenarios for each (e.g if you want to push a new image, but only if a new release would happen, a non-zero exit status could be not what you want).
I'd be happy to accept a PR that adds a flag to get the behavior you're looking for though, because your use case makes perfect sense as well.
Right now we have a --yes
to take out the interactiveness, so we could also have another to get this behavior. Unsure what the best name would be, but I'm open to ideas. The feature should be really easy to implement.
from git_ops.
I can confirm that this is the expected behavior for my use case. I have a Gitlab CI pipeline that only allows prod deploys to be run once we have released our code, so if we don't have anything to ship (feats or fixes) we basically can't deploy to production. This forces the team to work with at least one fix or feat per release which actually ships value to our customers.
from git_ops.
Related Issues (20)
- Support for Phoenix Umbrella projects HOT 4
- Running mix git_ops.release --initial --dry-run creates Changelog.md HOT 2
- A braking change can be specified with ! appended after, not before, the type/scope HOT 4
- Dry Run should diff the files and only print the changing portions
- Allow amending changelog entries before releasing, using `git-notes`
- Validation of commit message HOT 7
- Feature request: Allow configuration management in mix.exs HOT 1
- --initial flag behavior
- Filter non-semver tags earlier
- Is it possible for git_ops to work with elixir app in a subdirectory? HOT 1
- Append the current release's changelog body to the git tag message HOT 4
- License Change GPL -> MIT HOT 14
- Add option to output release-specific notes to `RELEASE_CHANGELOG.md` or an alternative file
- Proposal: Stick to Conventional Commit spec and allow extended types to be configured HOT 2
- Custom Path for .git folder HOT 2
- git_ops.message_hook fails HOT 1
- Add option to filter out commits by title or content with a regex HOT 10
- Bug: Seems like BREAKING CHANGE is broken since it doesn't bump a MAJOR version HOT 7
- Deprecation warnings raised when using the GitHub Actions formatter
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 git_ops.