Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
469 B

  1. const verifyGitLab = require('./lib/verify');
  2. const publishGitLab = require('./lib/publish');
  3. let verified;
  4. async function verifyConditions(pluginConfig, context) {
  5. await verifyGitLab(pluginConfig, context);
  6. verified = true;
  7. }
  8. async function publish(pluginConfig, context) {
  9. if (!verified) {
  10. await verifyGitLab(pluginConfig, context);
  11. verified = true;
  12. }
  13. return publishGitLab(pluginConfig, context);
  14. }
  15. module.exports = {verifyConditions, publish};