UNPKG

octopus-deploy

Version:

Node scripts to package up applications, create releases, and deploy with Octopus Deploy. This package leverages the Octopus Deploy REST API in order to deploy from Windows and non-Windows machines.

16 lines (11 loc) 323 B
'use strict' const api = require('../api') const { logger } = require('../utils') const getVariableSet = async id => { const variableSet = await api.variables.find(id) if (!variableSet.hasValue) { logger.error(`Variable set '${id}' not found`) } return variableSet } module.exports.execute = getVariableSet