Comments (6)
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.
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.
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.
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.
duplicate of #49
from rebar3_appup_plugin.
#52 takes care of this, closing
from rebar3_appup_plugin.
Related Issues (20)
- appup generate creates appup files even if appup compile has already created them HOT 2
- Using current version on github I have the following error HOT 20
- SVN rebar3_appup_plugin HOT 3
- Can't make relup HOT 2
- Merge appup.pre.src && appup.post.src files into the appup file after .appup is generated by 'appup generate' HOT 10
- appup compile generates "git" into the generated appup file HOT 9
- string:tokens/2 and string:strip/3 will be deprecated HOT 9
- Old and buggy version in pkg HOT 3
- error in rebar3_appup_generate HOT 9
- incorrect appup file getting generated HOT 10
- rebar3 appup fails - new release overwriting old "previous version apps" HOT 4
- appups not generated for apps that need it but for which a previous version had appups HOT 3
- generated appup order HOT 3
- 2.4.2 not found in the hex.pm, please push it to hex.pm. HOT 2
- The new child does not start if a release is upgraded. HOT 7
- Follow behaviour parents when generating appup files
- Appup file generated by rebar3_appup_generate contains all files if only the compile options change HOT 2
- Adding new supervisor HOT 2
- no `debug_info` when release with otp24
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 rebar3_appup_plugin.