The best way to keep your job (and get promoted) is to be valuable. Instead of looking for ways to game the situation, you should be looking for ways to be more valuable. Figure out new ways you can contribute. Figure out new improvements that you can implement in software. Work to understand the business better so you can apply your technical knowledge more effectively to help the business and their customers.
Speak up more so your boss and his/her bosses can become aware of how you are contributing.