Coder Social home page Coder Social logo

asifnawaz-cnic / rtldev-middleware-semantic-release-whmcs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs

0.0 0.0 0.0 1.94 MB

Publish Module Changes on WHMCS Marketplace

License: MIT License

JavaScript 21.89% CSS 3.46% HTML 74.65%

rtldev-middleware-semantic-release-whmcs's Introduction

semantic-release-whmcs

npm version node semantic-release Build Status License: MIT PRs welcome

semantic-release plugin to publish a WHMCS product/module version to WHMCS Marketplace.

Step Description
verifyConditions Verify the presence and the validity of the authentication credentials (set via environment variables) and the product id option configuration.
publish Publish product/module version to WHMCS Marketplace including changelog notes.

Resources

Usage Guide

Requirements

Install

> npm i semantic-release-whmcs -D

Configuration

The plugin can be loaded in the semantic-release configuration file. Currently no configuration options are available.

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "semantic-release-whmcs"
  ]
}

With this example product/module versions will be published to the WHMCS Marketplace including changelog notes.

WHMCS Marketplace authentication

The WHMCS Marketplace authentication configuration is required and can be set via environment variables.

If you don't have an WHMCS Marketplace account yet, please create one. The credentials have to be made available in your CI environment via the WHMCSMP_LOGIN and WHMCSMP_PASSWORD environment variables. The account must have access to the product(s) you want to publish new versions for.

WHMCS Marketplace Product ID

The WHMCS Marketplace Product ID configuration is required and can be set via environment variables.

The Product ID has to be made available in your CI environment via the WHMCSMP_PRODUCTID environment variable.

That said, before you can use this module for publishing new product/module version to the WHMCS Marketplace, this Product has already to exist and as mentioned above, the account you provide here for authentication has to have access to manage that product. You can find the Product ID in the url when being in edit mode e.g. https://marketplace.whmcs.com/product/1234/edit.

Environment variables

Variable Description
WHMCSMP_LOGIN Required. The email address of the WHMCS Marketplace account to use for authentication.
WHMCSMP_PASSWORD Required. The password of the WHMCS Marketplace account to use for authentication.
WHMCSMP_PRODUCTID Required. The product id of the product/module you want to publish versions for.
WHMCSMP_MINVERSION Optional. The minimum supported WHMCS version. Defaults to 7.10.
PUPPETEER_HEADLESS Optional. Toggle headless mode on/off. by default true. Values: 1,0.
GH_TOKEN Optional. GitHub API authentication token to use for syncing versions.
GH_REPO Optional. GitHub repository name (format: organization/repository) to use for syncing versions.

Options

None available yet.

Routines

Type ./whmcs.js --help for command reference

Contributing

Please read Contribution Guide Lines for details on our code of conduct, then address a PR to us. Contributors are highly welcome.

Authors

  • Kai Schwarz - lead development - PapaKai
  • Sebastian Vassiliou - development - h9k

License

This project is licensed under the MIT License - see the LICENSE file for details.

HEXONET GmbH

rtldev-middleware-semantic-release-whmcs's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar h9k avatar kaischwarz-cnic avatar rashad-j avatar semantic-release-bot avatar tulsi91 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.