photopea / UPNG.js

Fast and advanced PNG (APNG) decoder and encoder (lossy / lossless)
MIT License
2.1k stars 259 forks source link

Request for a release tag #14

Closed Billy4195 closed 6 years ago

Billy4195 commented 6 years ago

Hi @photopea , We are cdnjs, we're going to host this library. And our git auto-updater in cdnjs need tags to recognize versions and update it. Would you like to add tags for this repo?

If you have any suggestions, please let me know. Thank you.

cdnjs/cdnjs#12257

photopea commented 6 years ago

Hi Billy, what are those tags? There may be hundreds of services, who would want to host our library, and it sounds crazy to adapt our content for each of these services.

Can you detect the update by other GitHub parameters? E.g. you can parse it out from the HTML code of our repository page.

Billy4195 commented 6 years ago

@photopea Because we found that your repo has some popularity on GitHub, it means there exists some people using your code, and CDNJS is just a platform to provide your code on our website for others to use, but if the users want new features, they should open issue on your repo and discuss with you. Our auto-updater can automatically grab the tags info on GitHub repo.

The tags can be added by using git tag -a then push on GitHub or just add release on GitHub page.

photopea commented 6 years ago

I am new to Git and Github. I upload everything here through the web interface. What tags exactly do you need? Will I have to change tags every time I upload a new version?

Billy4195 commented 6 years ago

@photopea Oh, I found that you had release this package on npm, right? Our auto-updater can also use npm package to update files, that means you no need to add release tags on GitHub, we can use the source code on npm

If you want to add release tag on GitHub, as well, then you can refer to these two website: git tag -a and add release

photopea commented 6 years ago

One of our fans "copies" the latest version to NPM. There is an old version on NPM right now. @Scimonster can you help us here?

Scimonster commented 6 years ago

OK, updated the version on NPM. @photopea Can you ping me when you push a code update so i can update NPM?

photopea commented 6 years ago

@Scimonster ok, I will "mention" you when I update UPNG next time.