semantic-release plugin for publishing Haxe libraries.
Step | Description | |
---|---|---|
verifyConditions |
Locate and validate a haxelib.json file, verify the presence of the HAXELIB_PASS environment variable. |
|
prepare |
Update the version in the haxelib.json version file and zip the files in classpath. |
|
publish |
Submit the Zip to the haxelib package manager. |
$ npm install semantic-release-haxelib -D
Add the plugin to the semantic-release configuration file:
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"semantic-release-haxelib"
]
}
The haxelib server authentication configuration is required.
The password must be set using the HAXELIB_PASS
environment variable.
This plugin requires exactly one valid haxelib.json
file to be present in the CWD.
Options | Description | Default |
---|---|---|
haxelibPublish |
Whether to publish your haxelib to the haxelib server. | true |
additionalFiles |
Additional files to add to haxelib archive (i.e. CHANGELOG.md) | [] |
The files added to the zip by default are
- haxelib.json
- README.md
- LICENSE.md
- CHANGELOG.md
as well as everything recursively under the classPath in the haxelib.json.