Coder Social home page Coder Social logo

Comments (6)

lrascao avatar lrascao commented on August 25, 2024

ah, i see the problem, the plugin sees an .appup that got generated when bumping from 0.1.0 to 0.2.0 so it won't try to generate anything:

{ "0.2.0",
    [{ "0.1.0",
        [] }],
    [{ "0.1.0",
        [] }]
}.

i guess the right thing to do here would be to generate the appup from 0.3.0 to 0.2.0 while still keeping the previous instructions

from rebar3_appup_plugin.

benbro avatar benbro commented on August 25, 2024

Is there a workaround?
I've tried to delete mytest.appup from _build/prod/lib/mytest/ebin/mytest.appup and generate appup and call relup:

rebar3 as prod appup generate --previous_version 0.2.0
rebar3 as prod relup

But I'm getting an error:

===> Resolved mytest-0.3.0
===> Errors generating relup 
          Could not read file /home/me/test/mytest/_build/prod/rel/mytest/lib/mytest-0.3.0/ebin/mytest.appup

from rebar3_appup_plugin.

benbro avatar benbro commented on August 25, 2024

It works if I manually delete mytest.appup from both places:

mytest/ _build/prod/lib/mytest/ebin/mytest.appup
mytest/_build/prod/rel/mytest/lib/mytest-0.2.0/ebin

from rebar3_appup_plugin.

lrascao avatar lrascao commented on August 25, 2024

you can try checking out 0.2.0, generate that release then check out 0.3.0 and request the appup generation from that version

from rebar3_appup_plugin.

lrascao avatar lrascao commented on August 25, 2024

duplicate of #49

from rebar3_appup_plugin.

lrascao avatar lrascao commented on August 25, 2024

#52 takes care of this, closing

from rebar3_appup_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.