Git Product home page Git Product logo

Comments (6)

lrascao avatar lrascao commented on June 22, 2024

The example project is based on changes introduced through several git tags.
You need to generate a release for appup generate to detect any changes

from rebar3_appup_plugin.

dcy avatar dcy commented on June 22, 2024

Does it mean if i want to use rebar3 appup generate to generate appup file, i should use git tag?

from rebar3_appup_plugin.

lrascao avatar lrascao commented on June 22, 2024

I recommend always using some kind of version control system, however appup generate only needs two built releases in order to perform the comparison, how that is achieved is entirely up to you. If you're trying out the relapp1 then yes, you need to checkout the git tags and build the release

from rebar3_appup_plugin.

dcy avatar dcy commented on June 22, 2024

I am trying relapp1, I git checkout 1.0.11 and rebar3 release, Then i did not checkout 1.0.12, I modify the code of relapp_app.erl, and change the version to 1.0.12 from rebar.config.

dcy@dcy-dcy:~/app/relapp1$ rebar3 release
===> Verifying dependencies...
===> Compiling relapp
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
          /home/dcy/app/relapp1/_build/default/lib
          /home/dcy/app/relapp1/apps
          /usr/lib/erlang/lib
          /home/dcy/app/relapp1/_build/default/rel
===> Resolved relapp-1.0.12
===> release successfully created!
dcy@dcy-dcy:~/app/relapp1$ rebar3 appup generate
dcy@dcy-dcy:~/app/relapp1$ 

appup not generated.

I rebar3 new app create a new app, build two different releases, and rebar3 appup generate does not generate appup file.

from rebar3_appup_plugin.

lrascao avatar lrascao commented on June 22, 2024

if you compare tags between 1.0.11 and 1.0.12 you'll see more changes, the .app.src file is also different

from rebar3_appup_plugin.

dcy avatar dcy commented on June 22, 2024

Thanks. It works.

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.