Sha256: 977ee84aaff0577a132828d9073f96b9a11c181058799ad05a027c563719187f

Contents?: true

Size: 697 Bytes

Versions: 10

Compression:

Stored size: 697 Bytes

Contents

#!/bin/sh

############################################################################
# What is this script?
#
# Chef uses a workflow tool called Expeditor to manage version bumps, changelogs
# and releases. After a PR is merged in Chef Expeditor calls this script to update
# the PATCH version in the VERSION file as well as the version.rb file in both chef
# and chef-config. When that's done it bundle updates to pull in that new chef-config.
############################################################################

set -evx

VERSION=$(cat VERSION)
ORIGINAL_VERSION=$(git show main:VERSION)

sed -i -r "s/^(\s*)VERSION = \".+\"/\1VERSION = \"${VERSION}\"/" lib/omnibus-harmony/version.rb

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
OmnibusHarmony-Test-Gem-1.0.55 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.54 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.53 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.52 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.44 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.41 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.40 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.39 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.32 .expeditor/update_version.sh
OmnibusHarmony-Test-Gem-1.0.31 .expeditor/update_version.sh