Answer: I think it would be I didn't earn much last year, but I earned a lot this year.
Explanation: If we write a sentence using the other option, the flow doesn't make much sense. (I've earned much last year, but I earn a lot this year.) It doesn't flow correctly, and doesn't make much sense with the context provided, so I believe it's what I said earlier.