Skip to content

edgeXUpdateNamedTag

Overview

Shared library that wraps the resources/update-named-tag.sh script. This script will create a new "named" git tag pointing to an existing git tag. This is really useful for creating "stable" or "experimental" tags that point to another specific versioned git tag. For example, if you wanted to have a "stable" tag point to a version tag of "v1.4.0" you can run this script to do so. See usage below.

Parameters

Name Required Type Description and Default Value
ogVersion true str Original version to create named tag from.
namedVersion true str Space delimited list of folders to publish.

Usage

Create a stable tag pointing to a specific version.

edgeXUpdateNamedTag('v1.2.3', 'stable')

Create an experimental tag pointing to a specific version.

edgeXUpdateNamedTag('v2.1.20', 'experimental')