[GH-ISSUE #1158] Not published to maven central any more? #537

Closed
opened 2026-03-03 14:39:11 +03:00 by kerem · 11 comments
Owner

Originally created by @mihxil on GitHub (Sep 29, 2023).
Original GitHub issue: https://github.com/lipis/flag-icons/issues/1158

See https://central.sonatype.com/artifact/org.webjars.npm/flag-icons/versions

versions after 6.6.5 are not published any more?

Originally created by @mihxil on GitHub (Sep 29, 2023). Original GitHub issue: https://github.com/lipis/flag-icons/issues/1158 See https://central.sonatype.com/artifact/org.webjars.npm/flag-icons/versions versions after 6.6.5 are not published any more?
kerem closed this issue 2026-03-03 14:39:11 +03:00
Author
Owner

@lipis commented on GitHub (Oct 7, 2023):

We are not officially support this and it's not done automatically.. I guess the maintainer of that project stopped..

<!-- gh-comment-id:1751681886 --> @lipis commented on GitHub (Oct 7, 2023): We are not officially support this and it's not done automatically.. I guess the maintainer of that project stopped..
Author
Owner

@mihxil commented on GitHub (Oct 9, 2023):

Last year this same issue was resolved by @NotTsunami . I suppose that it the maintainer you're hinting too then. May be I can help, to do or automate it.

<!-- gh-comment-id:1752514208 --> @mihxil commented on GitHub (Oct 9, 2023): Last year this same issue was resolved by @NotTsunami . I suppose that it the maintainer you're hinting too then. May be I can help, to do or automate it.
Author
Owner

@lipis commented on GitHub (Nov 3, 2023):

How can it be automated?

<!-- gh-comment-id:1792858089 --> @lipis commented on GitHub (Nov 3, 2023): How can it be automated?
Author
Owner

@mihxil commented on GitHub (Nov 4, 2023):

It could be done by triggering a github action. Publishing to central.sonatype can be arranged then. That is at least what I thought, but afaik you need access to the webjars.org domain than to proof that you're allowed.

On the other hand, may be publishing to webjars is initiated by the webjars project (https://github.com/webjars/webjars). I actually don't know how it works. Someone probably knew :-) May be it should be initiated from that side. I'll look into it.

<!-- gh-comment-id:1793535648 --> @mihxil commented on GitHub (Nov 4, 2023): It could be done by triggering a github action. Publishing to central.sonatype can be arranged then. That is at least what I thought, but afaik you need access to the webjars.org domain than to proof that you're allowed. On the other hand, may be publishing to webjars is initiated by the webjars project (https://github.com/webjars/webjars). I actually don't know how it works. Someone probably knew :-) May be it should be initiated from that side. I'll look into it.
Author
Owner

@mihxil commented on GitHub (Nov 4, 2023):

I issued https://github.com/webjars/webjars/issues/2032

<!-- gh-comment-id:1793536436 --> @mihxil commented on GitHub (Nov 4, 2023): I issued https://github.com/webjars/webjars/issues/2032
Author
Owner

@NotTsunami commented on GitHub (Nov 5, 2023):

It could be done by triggering a github action. Publishing to central.sonatype can be arranged then. That is at least what I thought, but afaik you need access to the webjars.org domain than to proof that you're allowed.

On the other hand, may be publishing to webjars is initiated by the webjars project (https://github.com/webjars/webjars). I actually don't know how it works. Someone probably knew :-) May be it should be initiated from that side. I'll look into it.

https://github.com/webjars/flag-icon-css/issues/3#issuecomment-1793106800

Looks like you can make releases via GitHub Actions: https://github.com/comnoco/create-release-action

<!-- gh-comment-id:1793596510 --> @NotTsunami commented on GitHub (Nov 5, 2023): > It could be done by triggering a github action. Publishing to central.sonatype can be arranged then. That is at least what I thought, but afaik you need access to the webjars.org domain than to proof that you're allowed. > > On the other hand, may be publishing to webjars is initiated by the webjars project (https://github.com/webjars/webjars). I actually don't know how it works. Someone probably knew :-) May be it should be initiated from that side. I'll look into it. https://github.com/webjars/flag-icon-css/issues/3#issuecomment-1793106800 Looks like you can make releases via GitHub Actions: https://github.com/comnoco/create-release-action
Author
Owner

@lipis commented on GitHub (Nov 5, 2023):

curl 'https://www.webjars.org/deploy?webJarType=npm&nameOrUrlish=flag-icons&version=6.12.0'

If that works without issues (because now somebody actually published it already).. @NotTsunami if we can do that with actions on every release would be nice..

<!-- gh-comment-id:1793690881 --> @lipis commented on GitHub (Nov 5, 2023): ``` curl 'https://www.webjars.org/deploy?webJarType=npm&nameOrUrlish=flag-icons&version=6.12.0' ``` If that works without issues (because now somebody actually published it already).. @NotTsunami if we can do that with actions on every release would be nice..
Author
Owner

@mihxil commented on GitHub (Nov 6, 2023):

https://github.com/webjars/webjars/issues/203

I was completely not aware that it works like that, but it seems that you can just on https://www.webjars.org/ click on 'add webjar', and then select version you need, and then they will add it.

I just try:

'curl 'https://www.webjars.org/deploy?webJarType=npm&nameOrUrlish=flag-icons&version=6.11.1' then, and see whether it works

(I triggered 6.11.2 manually already)

<!-- gh-comment-id:1796171860 --> @mihxil commented on GitHub (Nov 6, 2023): https://github.com/webjars/webjars/issues/203 I was completely not aware that it works like that, but it seems that you can just on https://www.webjars.org/ click on 'add webjar', and then select version you need, and then they will add it. I just try: 'curl 'https://www.webjars.org/deploy?webJarType=npm&nameOrUrlish=flag-icons&version=6.11.1' then, and see whether it works (I triggered 6.11.2 manually already)
Author
Owner

@lipis commented on GitHub (Nov 7, 2023):

I added a script to do it semi-automatically.. will try to keep it up to date :)

<!-- gh-comment-id:1797055896 --> @lipis commented on GitHub (Nov 7, 2023): I added a script to do it semi-automatically.. will try to keep it up to date :)
Author
Owner

@mihxil commented on GitHub (Nov 7, 2023):

Thanks a lot!

<!-- gh-comment-id:1797988825 --> @mihxil commented on GitHub (Nov 7, 2023): Thanks a lot!
Author
Owner

@lipis commented on GitHub (Nov 7, 2023):

@mihxil You're welcome.. in case I forget feel free either run the script (yarn maven) or ping us here!

<!-- gh-comment-id:1798017811 --> @lipis commented on GitHub (Nov 7, 2023): @mihxil You're welcome.. in case I forget feel free either run the script (`yarn maven`) or ping us here!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#537
No description provided.