@purple/serverless-git-branch-stage-plugin
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@purple/serverless-git-branch-stage-plugin", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=12" |
# serverless-git-branch-stage-plugin | ||
[![CI Status Badge](https://circleci.com/gh/purple-technology/serverless-git-branch-stage-plugin.svg?style=svg)](https://github.com/purple-technology/serverless-git-branch-stage-plugin) | ||
This plugin provides two Serverless variables: | ||
@@ -3,0 +6,0 @@ |
@@ -22,3 +22,3 @@ 'use strict' | ||
serverless.variables.getValueFromSource = variable => { | ||
const matches = variable.match(/^git:stage:(stage|basePath)$/) | ||
const matches = variable.match(/^git:(stage|basePath)$/) | ||
if (matches === null) { | ||
@@ -25,0 +25,0 @@ return delegate(variable) |
4415
48