Skip to content

Commit cf17eba

Browse files
SinghVikram97VikramBedi
andauthored
Update release script to include setup.sh version update (#864)
Co-authored-by: VikramBedi <vbedi@amazon.com>
1 parent 920919d commit cf17eba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/github-release.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ sed_inplace "deploy-$OLD_VERSION.yaml" "deploy-$RELEASE_VERSION.yaml" "$WORKSPAC
7070
sed_inplace "--version=$OLD_VERSION" "--version=$RELEASE_VERSION" "$WORKSPACE_DIR"/docs/guides/deploy.md
7171
sed_inplace "--version=$OLD_VERSION" "--version=$RELEASE_VERSION" "$WORKSPACE_DIR"/docs/guides/getstarted.md
7272
sed_inplace "mike deploy $OLD_VERSION" "mike deploy $RELEASE_VERSION" "$WORKSPACE_DIR"/.github/workflows/publish-doc.yaml
73+
sed_inplace "CURRENT_CONTROLLER_VERSION=\"$OLD_VERSION\"" "CURRENT_CONTROLLER_VERSION=\"$RELEASE_VERSION\"" "$WORKSPACE_DIR"/scripts/setup.sh
7374

7475

7576
# Build the deploy.yaml
@@ -96,6 +97,7 @@ git add "$WORKSPACE_DIR/README.md" \
9697
"$WORKSPACE_DIR/files/controller-installation/deploy-$RELEASE_VERSION.yaml" \
9798
"$WORKSPACE_DIR/docs/guides/deploy.md" \
9899
"$WORKSPACE_DIR/docs/guides/getstarted.md" \
100+
"$WORKSPACE_DIR/scripts/setup.sh" \
99101

100102
# Add the old deploy file if it exists and was removed
101103
if [ -f "$WORKSPACE_DIR/files/controller-installation/deploy-$VERSION_TO_REMOVE.yaml" ]; then

0 commit comments

Comments
 (0)