I'd prefer not to define a version (in this case 0.1.1) in the Hash-Link-Scroll-Offset WordPress plugin package, since I always want the latest version from the master branch. Is there a better way to setup this WordPress Plugin that lives on GitHub in my composer.json file?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories":[ | |
{ | |
"type":"composer", | |
"url":"http://wpackagist.org" | |
}, | |
{ | |
"type": "package", | |
"package": { | |
"name": "WebDevStudios/Hash-Link-Scroll-Offset", | |
"version": "0.1.1", | |
"type": "wordpress-plugin", | |
"dist": { | |
"type": "zip", | |
"url": "https://github.com/WebDevStudios/Hash-Link-Scroll-Offset/archive/master.zip" | |
}, | |
"require": { | |
"composer/installers": "v1.0.6" | |
} | |
} | |
} | |
], | |
"require": { | |
"wpackagist-plugin/markdown-on-save":">1.2", | |
"WebDevStudios/Hash-Link-Scroll-Offset": ">=0.1.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment