~ancarda/gemtext-parser

ref: ef544f6ca2e087d4e51be0e8e202a0dfe55d0a77 gemtext-parser/.builds/poke-packagist -rwxr-xr-x 224 bytes
ef544f6cMark Dain Publish on SourceHut and Packagist 5 months ago
                                                                                
1
2
3
4
5
#!/bin/sh
curl -X POST \
	-H 'content-type:application/json' \
	"https://packagist.org/api/update-package?username=${1}&apiToken=$(cat $3)" \
	--data "{\"repository\":{\"url\":\"https://packagist.org/packages/${1}/${2}\"}}"