Anarios / return-youtube-dislike

Chrome extension to return youtube dislikes
https://returnyoutubedislike.com/
GNU General Public License v3.0
12.69k stars 568 forks source link

Implemented centralized versioning #1016

Closed Moondarker closed 10 months ago

Moondarker commented 11 months ago

Version numbers were all over the place - different versions in localization files (3.0.0.13, and 3.0.0.1 in PL), GitHub manifest (3.0.0.12), extension stores manifest (3.0.0.14), and package.json (2.0.0).

This pull request aims to fix the problem by changing all the version references except for one in package.json to template strings. These template strings will be replaced to the actual build number from package.json at build time.

Because versioning scheme of this project is not compatible with SemVer, it looks different in package.json (e.g. 3.0.0-14 instead of 3.0.0.14), but it's converted back to the currently used versioning scheme during the build.

Moondarker commented 10 months ago

Rebased to b133ade, @Anarios

Anarios commented 10 months ago

Thanks a lot.