w9jds / firebase-action

GitHub Action for interacting with Firebase
MIT License
922 stars 198 forks source link

Automatically bump version to match `firebase-tools` releases. #203

Closed luc122c closed 9 months ago

luc122c commented 10 months ago

This works towards #201.

This initial action runs on a cron schedule (0 0 * * * - every day). It checks the firebase-action and firebase-tools versions and does a semver compare. If our version is less than the theirs, it moves onto the second step.

The second step replaces the version numbers in the files, and pushes a new tag.

I still need to get the push working, and to get it to trigger a new release.

In the future, it would be better to have this run from a webhook or similar, rather than running on the cron.

luc122c commented 9 months ago

@w9jds This seems to be working! :) Please could you take a look?