consumet / consumet.ts

Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.
https://consumet.org/extensions/list/
GNU General Public License v3.0
393 stars 222 forks source link

Update npm-publish.yml #418

Closed bit-wiz closed 9 months ago

bit-wiz commented 9 months ago

UPDATE npm-publish.yml

ISSUE: In actions of npm-publish.yml , publish-npm was not running correctly (completely)

ERROR MSG : You cannot publish over the previously published versions: 1.5.2

FIX (at least I think it is) : added line npm version patch, which will update the version and then publish

Was trying to work with FlixHq , Goku but got error while fetching Sources , so I checked it was the raw keys file on github from where you fetched was deleted https://raw.githubusercontent.com/enimax-anime/key/e4/key.txt, so I checked the issues there was a fix , but it wasn't updated on NPM ( reason I got error ), So I checked and there was error during publishing the package (issue being same version was pushed ).

At least I think this is the issue and the fix, correct me if I'm wrong.

bit-wiz commented 9 months ago

I checked your code that's not the fix, currently anilist meta is also not working and on their docs it is notifying that their api is currently under construction means they are currently fixing it. and i hope that in next version we will get all error resolved

No I know it isn't fix to that. This was for version conflict as only 1.5.2 is available on npm and 1.5.3 wasn't published as it said can't publish same version again (1.5.2 was being published) so added code for patching version before publishing

riimuru commented 9 months ago

@bit-wiz Thank you for pointing out that issue, I just fixed the issue on my side. the npm run version patch command will actually update the CHANGELOGS as you can see here in package.json (Line 9), I completely forgot about the logs. will merge! Thank you.