Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relup: Don't insist on specifying release name/version #2812

Open
weiss opened this issue Jul 31, 2023 · 0 comments
Open

relup: Don't insist on specifying release name/version #2812

weiss opened this issue Jul 31, 2023 · 0 comments

Comments

@weiss
Copy link

weiss commented Jul 31, 2023

Environment

Rebar3 3.22.0 on Erlang/OTP 26.0.2.

Current behaviour

The following example works fine, but it would be nice if the final rebar3 relup command wouldn't insist on having the release name and version specified on the command line:

rebar3 new release example
cd example
sed -i '/{mode,/d' rebar.config
echo '{plugins, [rebar3_appup_plugin]}.' >> rebar.config
rebar3 release
sed -i 's/intensity => 0/intensity => 1/' apps/example/src/example_sup.erl
sed -i 's/0.1.0/0.2.0/' rebar.config apps/example/src/example.app.src
rebar3 release
rebar3 appup generate
rebar3 relup -n example -v 0.2.0

Expected behaviour

By default, rebar3 relup should choose the same release name/version as rebar3 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant